Raised This Month: $ Target: $400
 0% 

FriendlyFire "Punish next round" not working


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
fawk3s
BANNED
Join Date: Oct 2006
Location: Earth
Old 12-18-2006 , 14:03   FriendlyFire "Punish next round" not working
#1

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

Last edited by fawk3s; 12-18-2006 at 15:13.
fawk3s 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 22:31.


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