AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   DeathMsg and MSG_ONE (https://forums.alliedmods.net/showthread.php?t=140784)

Mati_ 10-16-2010 13:09

DeathMsg and MSG_ONE
 
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.

Hunter-Digital 10-17-2010 04:58

Re: DeathMsg and MSG_ONE
 
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


All times are GMT -4. The time now is 10:24.

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