Quote:
Originally Posted by 2reason2kill
Is This Right?
PHP Code:
public fwTakeDamage( victim , inflictor , attacker , Float:damage , damage_bits )
{
if(is_user_alive(id) )
{
if(g_bBoght[id][anti_deagle] = true)
{
if( IsPlayer( attacker ) && is_user_alive( attacker ) && inflictor == attacker && ( get_user_weapon(attacker) == CSW_DEAGLE ) )
{
return HAM_SUPERCEDE;
}
return HAM_IGNORED;
}
}
}
Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team
Error: Undefined symbol "id" on line 398
Error: Undefined symbol "id" on line 400
2 Errors.
Please Explian To me what's Wrong.
|
the wrong that you don't add
id remplace :
PHP Code:
public fwTakeDamage( victim , inflictor , attacker , Float:damage , damage_bits )
{
PHP Code:
public fwTakeDamage( victim , inflictor , attacker , Float:damage , damage_bits , id )
{