19.04.2013, 05:03
That's the 0.3x bug, I prefer you to make a DelayedKick. You may search it around the forums. I don't exactly know where it is.
That's the 0.3x bug, I prefer you to make a DelayedKick. You may search it around the forums. I don't exactly know where it is.
|
new LoggedIn[MAX_PLAYERS];
public OnPlayerSpawn(playerid)
{
if(LoggedIn[playerid] != 1)) return SetTimerEx("KICK", 500, false, "d", playerid);
return 1;
}
forward KICK(playerid);
public KICK(playerid)
{
Kick(playerid);
return 1;
}
//Or if you want a function which performs as kick function (with delay)
stock L_Kick(playerid)
{
SetTimerEx("KICK", 500, false, "d", playerid); //Performs a kick after 500ms.
return 1;
}