Problems login in 60 seconds
#1

I added this in gamemod
Код:
onplayerconnect

	if(gPlayerLogged[playerid] == 0)
	{
		KickLogged(playerid);
	}

public OnFilterScriptInit()
{
  	SetTimer("KickLogged",600000,2);
  	return 1;
}

forward KickLogged(playerid);
public KickLogged(playerid)
{
	SendClientMessage(playerid, COLOR_RED, "Ai primit kick , Ai stat mai mult de 30 secunde afk.");
	Kick(playerid);
 	return 1;
}
does not work, get on the server and automatically kick me, just read the public, timer sucks!
How do I?

If you are not logged in, and stay mad for 60 seconds, you should automatically get kicked!
But I do not read timeru just automatically kick the public and entering )

Can you help me achieve this?
Reply


Messages In This Thread
Problems login in 60 seconds - by iRealSAMP - 10.03.2012, 14:22
Re: Problems login in 60 seconds - by Cypress - 10.03.2012, 15:06
Re: Problems login in 60 seconds - by iGetty - 10.03.2012, 15:06
Re: Problems login in 60 seconds - by iRealSAMP - 10.03.2012, 16:18
Re: Problems login in 60 seconds - by iRealSAMP - 11.03.2012, 09:11
Re: Problems login in 60 seconds - by Reklez - 11.03.2012, 09:13
Re: Problems login in 60 seconds - by iRealSAMP - 11.03.2012, 09:38
Re: Problems login in 60 seconds - by Reklez - 11.03.2012, 09:52

Forum Jump:


Users browsing this thread: 1 Guest(s)