Need the Temp Ban CMD.
#1

Hi All,

Would it be possible for someone to give me the pawn code, For Temp Ban Please?

Thanks.
Reply
#2

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.
Reply
#3

Quote:
Originally Posted by Rachael
Посмотреть сообщение
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.
Well I just got none of that. :L I need the actually Pwn to Inport it into my script.
Reply
#4

This method of editing a script will never work
Reply
#5

Click Here
Reply
#6

Quote:
Originally Posted by Infamous
Посмотреть сообщение
Thanks.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)