Kick timer system?
#3

Add to Variables:
Код:
new LoginTimer[MAX_PLAYERS];
Start login:
Код:
LoginTimer[playerid] = SetTimerEx("KickPlayer", 10000, false, "i", playerid);
Good login:
Код:
KillTimer(LoginTimer[playerid]);
LoginTimer[playerid] = 0;
At the very bottom of your mode:
Код:
forward KickPlayer(playerid);
public KickPlayer(playerid) {
	Kick(playerid);
	LoginTimer[playerid] = 0;
	return 1;
}
Reply


Messages In This Thread
Kick timer system? - by spyro9696 - 02.01.2018, 15:48
Re: Kick timer system? - by RogueDrifter - 02.01.2018, 15:53
Re: Kick timer system? - by Romz - 02.01.2018, 15:55
Re: Kick timer system? - by spyro9696 - 02.01.2018, 16:03
Re: Kick timer system? - by spyro9696 - 02.01.2018, 16:07
Re: Kick timer system? - by jasperschellekens - 02.01.2018, 16:15
Re: Kick timer system? - by DaniceMcHarley - 04.01.2018, 20:45

Forum Jump:


Users browsing this thread: 1 Guest(s)