DeathMsg Fix v1.0.3
1 Attachment(s)
Info (RUS):
* Plugin fixes an absence of DeathMsg (notification) on critical damage. This bug usually occures when player is killed by map entity. Very useful when playing maps with tank/gun/etc entities under CSDM because a dead player will not be respawned automatically in this case. Requirements: * CS/CZ mod * AMX/X 1.7x or higher * CStrike module Known issues: * Bomb Explosion Features plugin (by VEN) may start to work wrong after this plugin has been activated. History: 1.0.3 [2007-03-10] ! fixed an issue when other plugins, placed below the current plugin in plugins.ini, got an invalid arguments for Damage event (e.g. receiver=0, dmg_take=1 instead of valid receiver=1, dmg_take=125) 1.0.2 [2007-03-02] ! avoid dealing with zero player id wihtin onDamage() function (may occure under AXM/X 1.75a) 1.0.1 [2007-02-16] * removed cstrike mod checking cause cstrike module has already been included * added public version cvar 1.0.0 [2007-02-14] * initial release +101 downloads |
Re: DeathMsg Fix
a tank in counterstrike ?
|
Re: DeathMsg Fix
I meant tank entity as class: centry gun, machine gun and any other map entity which kills a player.
|
Re: DeathMsg Fix
Is there any real point to this check?
if(cstrike_running()) Also, will this if statement ever return false if someone connects and dies (or if DeathMsg is never called through register_event). if(!(is_user_alive(id) || g_bDeathMsg[id] || g_bCriticalDamage[id])) |
Re: DeathMsg Fix
Quote:
Quote:
Quote:
|
Re: DeathMsg Fix
Quote:
2. Yeah I misunderstood that 3. if(!(is_user_alive(id) || g_bDeathMsg[id] || g_bCriticalDamage[id])) is the same as if(!is_user_alive(id) && !g_bDeathMsg[id] && !g_bCriticalDamage[id]) which always appears to return true (assuming 'id' was killed) since every time ResetHUD you set both of them to false. EDIT: Shouldn't you also call client_disconnect to ensure the boolean variables are reset to false (If they disconnect before ResetHUD is called)? |
Re: DeathMsg Fix
eh isnt the "||" the Logical or operator & the "&&" The and operator :)
|
Re: DeathMsg Fix
Quote:
|
Re: DeathMsg Fix
Quote:
Quote:
Quote:
Yesterday i discovered that this plugin fixes DeathMsg absence for C4 kill. So if you're using plugin which allows to plant C4 everywhere, may be it's for you too. By the way, this plugin may be incompatible with VEN's Bomb Explosion Features. |
Re: DeathMsg Fix
Quote:
|
All times are GMT -4. The time now is 20:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.