AlliedModders

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

Rolnaaba 04-30-2007 14:14

DeathMsg
 
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?

mateo10 04-30-2007 14:38

Re: DeathMsg
 
Try to set a 0 where the attacker_id is. Or maybe set both to attacker_id.

XxAvalanchexX 04-30-2007 22:34

Re: DeathMsg
 
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.

Rolnaaba 05-01-2007 07:34

Re: DeathMsg
 
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?

XxAvalanchexX 05-01-2007 14:58

Re: DeathMsg
 
Test it out yourself and let us know! ;)

Rolnaaba 05-02-2007 10:11

Re: DeathMsg
 
I dont have internet except at school, so I cant test anything...


All times are GMT -4. The time now is 06:43.

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