17.10.2013, 02:03
Tylers code won't work correctly it needs to be fixed...
Derp.....
Do it the man way....
Derp.....
pawn Код:
loginTime[i] --;
if(loginTime[i] == 0 && PlayerInfo[playerid][LoggedIn] == 0)
pawn Код:
#define IsLoggedIn(%0) PlayerInfo[%0][LoggedIn]
if(!IsLoggedIn(i))
{
loginTime[i] --;
if(loginTime[i] > 0)
{
// Count down code here
}
else
{
// Kick code here
}
}