Quote:
Originally Posted by Lord_Destros
Is there any real point to this check?
if(cstrike_running())
|
Yes of course. This bug occures only under CS. Under HLDM everything is fine.
Quote:
Originally Posted by Lord_Destros
When someone suicides, if they already gain a death whats the point of this?
cs_set_user_deaths(id, cs_get_user_deaths(id) + 1)
Also why do you bother checking when they take damage rather than when they just die.
|
You still don't understand what this plugin does. It fixes a BUG when a player got critical Damage but DeathMsg were not sent by the server. Normally DeathMsg is called before critical Damage event.
Quote:
Originally Posted by Lord_Destros
Lastly, will this if statement ever return false if someone connects and dies.
if(!(is_user_alive(id) || g_bDeathMsg[id] || g_bCriticalDamage[id]))
|
It's a result of optimized boolean expression (may be you've heard about boolean algebra) thus it may be hard to understand an expression. By the way, i always test my plugins before posting them here.
__________________