Help with Zombie FCNPC Include.
#5

you just did a mistake you forget to type "Player"
it's like this
"FCNPC_OnPlayerTakeDamage"
PHP Code:
error 025: function heading differs from prototype
error 017
undefined symbol "damagerid"
error 025: function heading differs from prototype 
Line 279 :
PHP Code:
public OnPlayerTakeDamage(npcid,playeridissueridFloat:amountweaponidbodypart//This is the line 279
{
    
#if defined FCNPC_OnPlayerTakeDamage
        
return FCNPC_OnPlayerTakeDamage(npciddamageridweaponidbodypartFloat:health_loss); //This is 282
    #else
        
return 1;
    
#endif

and here is LINE 295 :
PHP Code:
    forward FCNPC_OnPlayerTakeDamage(npciddamageridweaponidbodypartFloat:health_loss); 
Reply


Messages In This Thread
Help with Zombie FCNPC Include. - by MarkNelson - 20.07.2017, 10:01
Re: Help with Zombie FCNPC Include. - by Amads - 20.07.2017, 10:04
Re: Help with Zombie FCNPC Include. - by MarkNelson - 20.07.2017, 10:08
Re: Help with Zombie FCNPC Include. - by Amads - 20.07.2017, 10:30
Re: Help with Zombie FCNPC Include. - by MarkNelson - 20.07.2017, 10:36
Re: Help with Zombie FCNPC Include. - by Toroi - 20.07.2017, 16:39
Re: Help with Zombie FCNPC Include. - by MarkNelson - 20.07.2017, 17:41

Forum Jump:


Users browsing this thread: 2 Guest(s)