blocking event death msgs
Hello all I want to block message of people dying.
My code. PHP Code:
I want 100% of them not showing deathmessages ,is there another way? |
Re: blocking event death msgs
From [ZP] Round Draw Blast.
PHP Code:
|
Re: blocking event death msgs
in event death i do...
PHP Code:
You didnt tell me g_msgdeathmsg.. Error: Undefined symbol "g_msgDeathMsg" on line 2064 |
Re: blocking event death msgs
Declare and set that variable with get_user_msgid("DeathMsg"). Don't take things in a code excerpt (example) literally.
|
Re: blocking event death msgs
so the is g_msgDeathMsg a float or num? or is it a id
PHP Code:
Ok Im confused , I too think that g_msgDeathMsg is something else... |
Re: blocking event death msgs
It's an integer. "id" doesn't really mean anything, it's just what many use to represent a player's unique entity number in the game.
|
Re: blocking event death msgs
Put this in plugin_init :
set_msg_block(get_user_msgid("DeathMsg"), BLOCK_SET) |
| All times are GMT -4. The time now is 13:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.