19.06.2014, 19:53
im using FCNPC and when i #include <FCNPC> at my gamemode im taking 1 error
i opened the .inc and i think this is the line where the error comes from ....
any idea how to fix this?
pawn Код:
\include\FCNPC.inc(128) : error 025: function heading differs from prototype
any idea how to fix this?
pawn Код:
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart)
{
// Process damage
FCNPC_ProcessDamage(playerid, damagedid, amount, weaponid, bodypart);
#if defined FCNPC_OnPlayerGiveDamage
return FCNPC_OnPlayerGiveDamage(playerid, damagedid, amount, weaponid, bodypart);
#else
return 1;
#endif
}