04.03.2014, 21:03
Hi Whenever I log on to my server my player is not spawning (sometimes not all the time) and I have to /q and relog to server. Please help me.
Reward - +1 rep.
Reward - +1 rep.
How can I set a timer before kicks or ban so player can get message?
Reward - +1 rep |
public OnPlayerDeath(playerid, killerid, reason)
{
if(GetPlayerState(killerid) == PLAYER_STATE_DRIVER || GetPlayerState(killerid) == PLAYER_STATE_PASSENGER )
{
SetTimerEx("playerkick", 1000, 0, "i", killerid); // This make delay before kick
}
return 1;
}
forward playerkick(playerid);
public playerkick(playerid)
{
Kick(playerid);
return 1;
}