Raised This Month: $ Target: $400
 0% 

Custom DeathMsg?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Spunky
Senior Member
Join Date: May 2008
Location: Orlando, Fl.
Old 03-23-2009 , 17:49   Custom DeathMsg?
Reply With Quote #1

So far, this is what I have...

Code:
public cmd_deathmsg(id) {     message_begin(MSG_ALL, get_user_msgid("DeathMsg"), {0, 0, 0}, 0)     write_byte(0) // killer     write_byte(id) // victim     write_string("starvation") // weapon     message_end()     return PLUGIN_HANDLED }

Which prints "Spunky killed self with starvation" in the console. What I want is for the actual DeathMsg in the top right to show "Starvation" as the killer instead of the weapon, which doesn't work. Is there a way to do this? If not, then I want to fix it so that it will actually display as the weapon.
Spunky is offline
Send a message via AIM to Spunky
 


Thread Tools
Display Modes

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 08:51.


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