Quote:
Originally Posted by neogeo
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?
__________________