kick problem
#2

This is a samp glitch, as the player is kicked before he gets the message.

I've create a KickEx function that works perfect, it just wait less than a second to kick the player, giving his client time to receive the message.

pawn Код:
// Top of script
forward KickPlayer(playerid);
public KickPlayer(playerid);
{
    Kick(playerid);
    return 1;
}

// Now at the end of the script
stock KickEx(playerid)
{
    SetTimerEx("KickPlayer",350,false,"d",playerid);
}
Now just use KickEx(playerid) instead of Kick(playerid)
Reply


Messages In This Thread
kick problem Upload the codes please help me - by Hazko - 21.07.2013, 14:42
Re: kick problem - by arakuta - 21.07.2013, 14:51
Re: kick problem - by Scenario - 21.07.2013, 14:52
Re: kick problem - by arakuta - 21.07.2013, 14:54
Re: kick problem - by Scenario - 21.07.2013, 14:55
Re: kick problem - by arakuta - 21.07.2013, 14:57
Re: kick problem - by Scenario - 21.07.2013, 15:06
Re: kick problem - by Hazko - 21.07.2013, 15:21
Re: kick problem - by SuperViper - 21.07.2013, 15:27

Forum Jump:


Users browsing this thread: 4 Guest(s)