SA-MP Forums Archive
[Include] FoxBan -|- TimeBan System - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] FoxBan -|- TimeBan System (/showthread.php?tid=169309)

Pages: 1 2


Re: FoxBan -|- TimeBan System - Stunt_Guy - 13.02.2011

Very Good 9/10 !!


Re: FoxBan -|- TimeBan System - budelis - 09.07.2011

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.


Re: FoxBan -|- TimeBan System - PCheriyan007 - 09.07.2011

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


Re: FoxBan -|- TimeBan System - Lorenc_ - 10.07.2011

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.


Re: FoxBan -|- TimeBan System - Nikola_Krstic - 13.07.2011

Perfect this is very useful 10/10


Re: FoxBan -|- TimeBan System - rubensm - 12.08.2011

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


Re: FoxBan -|- TimeBan System - Scenario - 12.08.2011

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.


AW: FoxBan -|- TimeBan System - PSPgamer_10 - 18.08.2011

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?


Re : FoxBan -|- TimeBan System - bousla7e - 18.08.2011

GG dude


Re: FoxBan -|- TimeBan System - [M.A]Angel[M.A] - 18.08.2011

Nice job really nice
__________________
Ramadan Kareem !
MY SERVER:



Re: FoxBan -|- TimeBan System - budelis - 03.09.2011

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.


Re: FoxBan -|- TimeBan System - wups - 03.09.2011

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


Re: FoxBan -|- TimeBan System - ProShooter22 - 15.04.2013

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


Re: FoxBan -|- TimeBan System - [FAT]Klabauter[LST] - 21.02.2014

how can i get rid of this warning?

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

thanks


Re: FoxBan -|- TimeBan System - Sagna - 27.02.2014

great script...
Helped me make a temp ban system


Re: FoxBan -|- TimeBan System - ProKillerpa - 07.03.2014

Good job!!!!!!


Re: FoxBan -|- TimeBan System - NexuS18 - 15.03.2014

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


Re: FoxBan -|- TimeBan System - iThePunisher - 16.03.2014

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