[Include] FoxBan -|- TimeBan System
#21

Very Good 9/10 !!
Reply
#22

Good.But maybe anybody know's how to make with hours?I try to do that but need make a lot of changes and it's hard to me to all,maybe anybody already have and can give me,or maybe do it.
Reply
#23

Here's a suggestion, add more time variables like /tban [days][hours][minutes].
Reply
#24

Hours or Days may be better than minutes, basically this is a system that suspends the player from the server? I like this, thanks might use it.
Reply
#25

Perfect this is very useful 10/10
Reply
#26

Hi, їDo you agree one example of /tban please? (Command)
Reply
#27

This would of been better if coded in y_ini or SQLite. I agree with Lorenc_ though, hours and days would of been a better way to do this.
Reply
#28

I made it as "minutes", 'cause i thought there could be some people who want to Timeban the player maybe for 30 minutes, or 15 minutes?
Reply
#29

GG dude
Reply
#30

Nice job really nice
__________________
Ramadan Kareem !
MY SERVER:
Reply
#31

Nice,but i want to ask you,i try to do that myself,but when i banned player for ex 5min(i use mysql),then when player back he get message you get banned for 5min and 0sec and it always be 5 min.I know why always not less because,when i ban player for time,i set variable that,how much time he get,and when connect,i check if that variable is more than 0 then he is banned,but how i say i don't know how to do it get less?for ex: 4 minutes 59sec,4 minutes 58 sec ..... Because in your code i don't see how you do that.
Reply
#32

Bad hooking. Other includes won't work because of this.
Code:
#define OnPlayerConnect FB_OnPlayerConnect
Check ALS hooking(for example in my script OPSP).
Reply
#33

u should add this,when someone bans a person-it should say your banned from the server it doesnt give any information
Reply
#34

how can i get rid of this warning?

warning 201: redefinition of constant/macro (symbol "OnPlayerConnect")

thanks
Reply
#35

great script...
Helped me make a temp ban system
Reply
#36

Good job!!!!!!
Reply
#37

gave you the trick to make this system of banning the mysql and + to banoawnie for days hours and minutes?
Reply
#38

Quote:
Originally Posted by [FAT]Klabauter[LST]
View Post
how can i get rid of this warning?

warning 201: redefinition of constant/macro (symbol "OnPlayerConnect")

thanks
That means you have 2
Code:
public OnPlayerConnect
Mix them and everything will work
Reply


Forum Jump:


Users browsing this thread: 6 Guest(s)