Posts: 453
	Threads: 173
	Joined: Jun 2011
	
Reputation: 
0
	 
 
	
	
		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.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 288
	Threads: 36
	Joined: May 2010
	
Reputation: 
0
	 
 
	
	
		Here's a suggestion, add more time variables like /tban [days][hours][minutes].
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 3,793
	Threads: 196
	Joined: Jan 2010
	
Reputation: 
0
	 
 
	
	
		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.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 211
	Threads: 32
	Joined: Jul 2010
	
Reputation: 
0
	 
 
	
	
		Hi, їDo you agree one example of /tban please? (Command)
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 7,801
	Threads: 187
	Joined: Feb 2010
	
Reputation: 
0
	 
 
	
	
		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.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 62
	Threads: 18
	Joined: Jun 2009
	
Reputation: 
0
	 
 
	
	
		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?
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 453
	Threads: 173
	Joined: Jun 2011
	
Reputation: 
0
	 
 
	
	
		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.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 150
	Threads: 27
	Joined: Jan 2013
	
Reputation: 
0
	 
 
	
	
		u should add this,when someone bans a person-it should say your banned from the server it doesnt give any information
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 73
	Threads: 10
	Joined: Jul 2011
	
Reputation: 
0
	 
 
	
	
		how can i get rid of this warning?
warning 201: redefinition of constant/macro (symbol "OnPlayerConnect")
thanks
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 27
	Threads: 0
	Joined: Feb 2014
	
	
 
	
	
		great script...
Helped me make a temp ban system
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 7
	Threads: 2
	Joined: Jan 2014
	
Reputation: 
0
	 
 
	
	
		gave you the trick to make this system of banning the mysql and + to banoawnie for days hours and minutes?