kick() function doesn't work in callback, stock, etc
#5

Instead of use Kick:

SetTimerEx("KickEx", 500 (500 ms should be enough, increase if not), false, "i", playerid);

forward KickEx(playerid);
public KickEx(playerid)
{
Kick(playerid);
return 0;
}

As i already said, use of Kick in OnPlayerConnect can cause this problem
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)