This:
Quote:
Originally Posted by Exolent[jNr]
You need to create a global array that is indexed by a player index.
PHP Code:
case 2:
{
g_yourGlobalArray[id] = true
}
|
And this:
PHP Code:
public fwTakeDamage( victim , inflictor , attacker , Float:damage , damage_bits )
{
if( g_yourGlobalArray[victim] && IsPlayer( attacker ) && is_user_alive( attacker ) && inflictor == attacker && ( get_user_weapon(attacker) == CSW_DEAGLE ) )
{
return HAM_SUPERCEDE;
}
return HAM_IGNORED;
}
(I think)
Quote:
Originally Posted by 2reason2kill
Please Explian To me what's Wrong.
|
The error clearly tells you what is wrong.
__________________