hi,
im using plugin called FF Management menu and it all works fine. But there is just 1 thing: when u choose "Punish next round", it doesnt wark, it just wornt punsih him net round (i think its ment that he will be slayed next round.) It says down there where ppl talk (client_print) that the player will be punished next round, but next round, nothing happens. :S this should be the code of this "punish next round" from the .sma... -
Code:
// Menu option 8 - Punish next round
public menu_option7(id,keys){
if(is_user_alive(TeamKillers[id]) == NO){
client_print(id,print_chat,"%L", LANG_PLAYER, "TOO_LATE_FOR_ANY_PUNISHMENT_MSG")
return PLUGIN_HANDLED
}
else if (Punishnextround[TeamKillers[id]]) {
new Kname[32]
get_user_name(TeamKillers[id],Kname,32)
if(get_cvar_num("sv_punishmessages") == HUD){
set_hudtype_punisdedmsg()
show_hudmessage(0,"%L", LANG_PLAYER, "X_WILL_BE_PUNISHED_NEXT_ROUND_HUD", Kname)
client_print(0,print_chat,"%L", LANG_PLAYER, "X_WILL_BE_PUNISHED_NEXT_ROUND_MSG", Kname)
return PLUGIN_HANDLED
}
client_print(0,print_chat,"%L", LANG_PLAYER, "X_WILL_BE_PUNISHED_NEXT_ROUND_MSG", Kname)
}
return PLUGIN_HANDLED
}
-- ingame, in the console, it gives no errors...
so could u take a look at this and fix bugs or add what u need to this to make it slay the player next round? or u would say how to take these lines out form the plugin, like the "punish next round" wouldnt be in the menu anymore? IF u do 1 of these things i would be very, very greatful.
if ur taking look at my prob, im thankful but if u need the .sma file, u can find it here:
http://forums.alliedmods.net/showthr...ght=Management
thank you