21.04.2012, 10:06
pawn Код:
//tempBanned command
new HoursBanned,
BannedTill = (HoursBanned*60*60*1000)+GetTickCount();
//save here BannedTillinside file
//and in his file make variable tempBanned = 1;
Kick(playerid);
//under on player connect
if(/*loading tempbanned here*/ == 1 && /*loading BannedTill fro file*/ ? GetTickCount()) Kick(playerid); //his tempban didn't restart yet.