Not working online
#4

Quote:
Originally Posted by Borg
Посмотреть сообщение
pawn Код:
if(sscanf(params, "u[50]", pid)) return SCM(playerid, GREY, "[SERVER]: /akill [playerid/name]");
{
...
}
u do not use "else" in your condition statement.
try something like this
pawn Код:
if(sscanf(params, "u[50]", pid)) return SCM(playerid, GREY, "[SERVER]: /akill [playerid/name]");
else
{
...
}
The else will never be executed if return is used, because if it doesn't find the parameters it simply will stop at that point.

pawn Код:
if(sscanf(params, "u[50]", pid)) return SCM(playerid, GREY, "[SERVER]: /akill [playerid/name]");

//code
Is enough.
Reply


Messages In This Thread
Not working online [FIXED] - by Duck4coder - 02.02.2014, 01:09
Re: Not working online - by CuervO - 02.02.2014, 01:16
Re: Not working online - by Borg - 02.02.2014, 01:18
Re: Not working online - by CuervO - 02.02.2014, 01:48
Re: Not working online - by Duck4coder - 02.02.2014, 02:38
Re: Not working online - by Duck4coder - 02.02.2014, 03:49
Re: Not working online - by Don_Cage - 02.02.2014, 04:05
Re: Not working online - by Duck4coder - 02.02.2014, 21:17

Forum Jump:


Users browsing this thread: 1 Guest(s)