Raised This Month: $ Target: $400
 0% 

DeathMsg


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Rolnaaba
Veteran Member
Join Date: May 2006
Old 04-30-2007 , 14:14   DeathMsg
Reply With Quote #1

Code:
    message_begin(MSG_ALL, get_user_msgid("DeathMsg"), {0,0,0}, 0);     write_byte(attacker_id);     write_byte(victim_id);     write_byte(0);     write_string("weapon");     message_end();

how would I make it so it looks like they died by world? such as when you fall is displays your name then a little skull thing?
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
mateo10
Veteran Member
Join Date: Jan 2006
Old 04-30-2007 , 14:38   Re: DeathMsg
Reply With Quote #2

Try to set a 0 where the attacker_id is. Or maybe set both to attacker_id.
mateo10 is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 04-30-2007 , 22:34   Re: DeathMsg
Reply With Quote #3

The skull symbol is shown if the weapon name you use isn't a valid sprite name. So just use "world" or "worldspawn" or anything else random.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Rolnaaba
Veteran Member
Join Date: May 2006
Old 05-01-2007 , 07:34   Re: DeathMsg
Reply With Quote #4

Code:
message_begin(MSG_ALL, get_user_msgid("DeathMsg"), {0,0,0}, 0); write_byte(0); write_byte(victim_id); write_byte(0); write_string("world"); message_end();
hows that?
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 05-01-2007 , 14:58   Re: DeathMsg
Reply With Quote #5

Test it out yourself and let us know! ;)
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Rolnaaba
Veteran Member
Join Date: May 2006
Old 05-02-2007 , 10:11   Re: DeathMsg
Reply With Quote #6

I dont have internet except at school, so I cant test anything...
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
Reply



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 06:43.


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