21.04.2013, 08:06
Comme l'as Dit tous le monde faut ajouter un timer
Voila
Voila
PHP Code:
stock KickEx(playerid, reason[])
{
if(IsPlayerConnected(playerid))
{
new s[228];
format(s, 228, "[SERVEUR] %s a йtй Kick. Motif: %s",PlayerInfo[playerid][pname], reason);
SendClientMessageToAll(COLOR_NO, s);
return SetTimerEx("KickT", 2000, 0, "i", playerid); // 2 sec
}
else return 0;
}
forward KickT(playerid);
public KickT(playerid) {
Kick(playerid);
return 1;
}