27.07.2016, 13:18
20 seconds? Isn't it too less? Show us your OnPlayerConnect callback.
EDIT: I made an example for you, this will work too.
EDIT: I made an example for you, this will work too.
PHP код:
new cT[MAX_PLAYERS];
public OnPlayerConnect(playerid)
{
cT[playerid] = SetTimerEx("Connection", 60000, false, "i", playerid);
return 1;
}
forward Connection(playerid);
public Connection(playerid)
{
// Kick Player...
KillTimer(cT[playerid]);
return 1;
}