In the log server AN ERROR HAS OCCURED [Error in 'mysql_fetch_assoc': Wrong number of arguments or invalid argument type]
wtf?
does it show any line number?
post 10 lines of code
Habi, I have such garbage after I placed the script on the hosting
And I probably have a problem and I go to the server for this, writes the connection to the server, loading information from the server for a couple of seconds, the convergence with the server is lost, can unnecessary plugins affect it
function onPlayerCommand( player, cmd, text )
{
if(player.Spawned == false )
{
MSGPLR(MSG_ERROR_EN+"You can't use commands when unspawned.",player,MSG_ERROR_RO+"Nu poti folosi comenzi cand nu esti spawnat.");
6line return 0;
}
cmd = cmd.tolower();
switch(cmd)
{
case "help":
{
waht fix it
6 line
function onPlayerCommand( player, cmd, text )
{
if(player.Spawned == false )
{
MessagePlayer( "You can't use commands when not spawned" , player);
return ;
}
cmd = cmd.tolower();
switch( cmd )
{
case "help":
{
//Functii copiate
function GetTok(string, separator, n, ...)
{
line 172 local m = vargv.len() > 0 ? vargv[0] : n,
tokenized = split(string, separator),
text = "";
if (n > tokenized.len() || n < 1) return null;
for (; n <= m; n++)
{
text += text == "" ? tokenized[n-1] : separator + tokenized[n-1];
}
return text;
}
what fix it line 172
Can you post screenshot?
https://imgur.com/A65spDq
Post a screenshot of the server. black colour
logs server
;D
Quote from: UncleRus on May 07, 2020, 04:11 PMlogs server
Not logs the console, the fil which u use to run ur server, the one with exe extension
I use pl hosting idont see fileon start my server
i think it is okay with the logs.
eg. https://imgur.com/a/CvhnOO4
wait
https://prnt.sc/scp7o5
This?
this happens when I want to ban someone else earlier it was written like this / ban <user> <reason> but right now it's just an empty tex and such an error in the console
sorry i was a bit late.
You have to use /ban playername
text cannot be empty.
habi what a reason
i need use reason
Habi wrote a ban on a test PC the same thing and just do not ban
/ban ---------------> error
/ban name reason -------------------> correct
eg. /ban teddy hack
/ban john abuse
/ban killer_32 multiple_accounts
Your example is correct, but I can't ban anyone from this error.
plugins ini04rel64
did you loaded this plugin?
when you ban a player, any message comes?
plagin ini04rel4 instaled
ban a player using /ban name reason
Go to server logs and post the error. could you?
there are no players on the server yet but when will I try
Thanks habi its work