Hide deathmsg
Hey I recently started with amx mod x scripting however, I can't seem to figure out, how to hide the deathmsg, from when a player gets killed, I don't want every single one of them hidden, but more specifically only when a player gets killed by set_user_health(arg1,arg2).
Is there some easy workaround for this to hide it when set_user_health is used? |
Re: Hide deathmsg
Hook DeathMsg through register_message and return PLUGIN_HANDLED and it.
Spoiler
|
Re: Hide deathmsg
Okay so I still can't manage to get it working, this is what I did, apologies in advance, I'm probably failing.
This is the function Code:
public hook_deathmsg(msgId,msgDest,iReceiver){Code:
public plugin_init(){ |
Re: Hide deathmsg
PHP Code:
|
| All times are GMT -4. The time now is 07:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.