Ban system.
#6

I don't know if this will work but try it
pawn Код:
//When the player is banned put this:
new Hour, Minute, Second, BannedTime;
gettime(Hour, Minute, Second);
#pragma unsed Second
#pragma unsed Minute
BannedTime = Hour + 24; //This will make the player banned for 1 day, (P.S: change the 24 with your [time] variable)
//And finally save "BannedTime" and when player attempts to log in into his banned account, load his saved data, check if BannedTime is higher than the current server time using gettime. if it's smaller kick the player.
Reply


Messages In This Thread
Ban system. - by budelis - 03.09.2011, 09:54
Re: Ban system. - by Jack_Leslie - 03.09.2011, 09:58
Re: Ban system. - by Kingunit - 03.09.2011, 11:49
Re: Ban system. - by budelis - 03.09.2011, 12:26
Re: Ban system. - by DRIFT_HUNTER - 03.09.2011, 21:11
Re: Ban system. - by Soumi - 03.09.2011, 21:20

Forum Jump:


Users browsing this thread: 1 Guest(s)