Error
#5

You can't give format in SendClientMessage.It doesn't accept the specifiers.So you must use format(string,length,"format",....); then call the SendClientMessage.

https://sampwiki.blast.hk/wiki/Format

And the next issues is all client message will not be shown just before Kick();
So you must use a timer to Kick the player.

Код:
SetTimerEx("KickPlayer",1000,0,"i",playerid);
forward KickPlayer(playerid);
public KickPlayer(playerid)
{
      Kick(playreid);
}
Reply


Messages In This Thread
Error - by NathNathii - 08.05.2013, 19:30
Re: Error - by Yashas - 08.05.2013, 19:32
Re: Error - by NathNathii - 08.05.2013, 19:36
Re: Error - by NathNathii - 08.05.2013, 19:41
Re: Error - by Yashas - 08.05.2013, 19:46
Re: Error - by NathNathii - 08.05.2013, 19:51

Forum Jump:


Users browsing this thread: 2 Guest(s)