Raised This Month: $51 Target: $400
 12% 

Bhop Detector


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Morpheus
Senior Member
Join Date: Mar 2004
Old 05-13-2007 , 05:59   Re: Bhop Detector
Reply With Quote #4

Quote:
Originally Posted by neogeo View Post
Code:
amx_punishtype (Default:1) - Punish type...(Kick,Ban).
0 = kick ? and 1 = ban ?
Isnt ban 3 ? Kinda confused since the code has 3 cases...

Code:
case 1:
			{
				set_hudmessage(255, 0, 0, 0.5, 0.5, 0, 6.0, 5.0, 0.1, 0.1, -1);
				show_hudmessage(id, "Warning: Bhop detected!^nThis is not allowed here!");
			}
			
			
			case 2:
			{
				server_cmd("kick #%d Bhop detected!",get_user_userid(id))
				
				set_hudmessage(255,150, 0, 0.30, 0.85, 1, 6.0, 5.0, 0.1, 0.1, -1);
				show_hudmessage(0,"Warning: %s was kicked for doing Bhop!",p_name);
			}
			
			case 3:
			{
				server_cmd("banid %d ^"%s^";kick #%d Bhop detected!",ban_time,p_authid,get_user_userid(id))
				
				set_hudmessage(255,150, 0, 0.30, 0.85, 1, 6.0, 5.0, 0.1, 0.1, -1);
				show_hudmessage(0,"Warning: %s was banned (%d min.) for doing Bhop!",p_name,ban_time);
1 announce, 2 kick, 3 ban?
__________________
Staffmember @ The Z Project.org
www.thezproject.org
Morpheus is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode