Raised This Month: $ Target: $400
 0% 

DeathMsg and MSG_ONE


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mati_
Member
Join Date: Sep 2010
Old 10-16-2010 , 13:09   DeathMsg and MSG_ONE
Reply With Quote #1

Anyone knows if there is a possibility to create a DeathMsg only for a single player?

Like
Code:
message_begin(MSG_ONE, get_user_msgid("DeathMsg"), {0,0,0}, playerid);
write_byte(killer);
write_byte(victim);
write_string(wpn_name);
message_end();
which doesn't work.
Mati_ is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 10-17-2010 , 04:58   Re: DeathMsg and MSG_ONE
Reply With Quote #2

You mean sending it to only one player ? It should work, but you're omitting a byte, the headshot.

http://wiki.amxmodx.org/Half-Life_1_...vents#DeathMsg
__________________
Hunter-Digital 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 10:24.


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