06.01.2011, 01:45
Hi All,
Would it be possible for someone to give me the pawn code, For Temp Ban Please?
Thanks.
Would it be possible for someone to give me the pawn code, For Temp Ban Please?
Thanks.
I'm not scripting it for you, but I will tell you a way you can do it...
make a player variable eg 'TempBan' that gets saved with the players other stats, it defaults as zero when the player logs in, if 'TempBan' < gettime(), they can connect as normal otherwise it says they are temp banned To tempban a player who is ingame, set their 'TempBan' stat to 'gettime()+ time in seconds, and kick them jobs done. |