Hello everyone, i've got these errors after trying to compile a shop plugin, can anyone help me with these errors ? I would be verry thankfull
Errors :
Code:
//// furienshop3.sma
\furienshop3.sma(164) : warning 217: loose indentation
\furienshop3.sma(164) : error 029: invalid expression, assumed zero
\furienshop3.sma(164) : error 017: undefined symbol "Player_TakeDamage"
\furienshop3.sma(164) : error 017: undefined symbol "iInflictor"
\furienshop3.sma(164) : fatal error 107: too many error messages on one line
//
// Compilation aborted.
// 4 Errors.
// Could not locate output file compiled\furienshop3.amx (compile failed).
//
// Compilation Time: 0.28 sec
And the line with those errors (I think

) :
Code:
public Player_TakeDamage ( iVictim, iInflictor, iAttacker, Float:fDamage ) {
if ( iInflictor == iAttacker && IsPlayer ( iAttacker ) && HasKnife [ iAttacker ] ) {
SetHamParamFloat ( 4, fDamage * 3.0 );
return HAM_HANDLED;
}
if ( iInflictor == iAttacker && IsPlayer ( iAttacker ) && HasAk47[ iAttacker ] ) {
SetHamParamFloat ( 4, fDamage * 2.0 );
return HAM_HANDLED;
}
return HAM_IGNORED;
}