10.03.2012, 14:22
I added this in gamemod
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?
Код:
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; }
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?