[HELP Scripting] DeathMsg Correctly?
Hello everyone, I'm seeking a new way to depict infected zombies through a death message. I would appreciate the help of more experienced coders to confirm if this is correct or if there's a better way to accomplish it:
PHP Code:
|
Re: [HELP Scripting] DeathMsg Correctly?
You Should use:
PHP Code:
|
Re: [HELP Scripting] DeathMsg Correctly?
something like this? i dont understand correcly your example
PHP Code:
|
Re: [HELP Scripting] DeathMsg Correctly?
so i see that you want to trigger the death event using a non existing weapon name (https://wiki.alliedmods.net/Half-lif...Counter-Strike).
i think it would be better if you will create a custom forward that is triggered when you want. also, triggering deathmsg can induce others plugins into errors edit: a simple example (idk if it's what you need) main plugin: Code:
Second plugin: Code:
you have a more better and detailed tutorial here https://forums.alliedmods.net/showthread.php?t=41241 |
Re: [HELP Scripting] DeathMsg Correctly?
It does cause errors indeed, as after the message was displayed "correctly visually," there were zombies and humans on the same team. Basically, what I want to do is show a fake death message when the first zombies are selected. I always search the entire forum before making a request or asking for help, sometimes I create a duplicate because the thread is old, etc., but anyway, I hope you understood
So, the zombies are selected, and a death message is sent to the selected zombies through the code. Not the ones infected by an attacker, as they already have a default death message, but the selected ones without an attacker, I have no idea how to properly and safely do it. |
| All times are GMT -4. The time now is 10:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.