20.07.2017, 10:01
Hello everyone, first of all i want to say "thank you" for taking time to view my topic.
Alright listen, Today i decided to update my server, So i wanted to add zombie NPCs using FCNPC Include and Plugin.
everything works fine but when i tried to compile my GameMode Script again, i faced some errors but i don't know how to fix them, i searched in ****** too and no results.
So, i decided to ask for help from SAMP FORUMS.
here is the errors while compiling:
and here are the lines in FCNPC include :
This is line 282
and here is line 295:
i hope you'll help me guys
Alright listen, Today i decided to update my server, So i wanted to add zombie NPCs using FCNPC Include and Plugin.
everything works fine but when i tried to compile my GameMode Script again, i faced some errors but i don't know how to fix them, i searched in ****** too and no results.
So, i decided to ask for help from SAMP FORUMS.
here is the errors while compiling:
PHP Code:
C:\Users\cpt\Desktop\Script Package\pawno\include\FCNPC.inc(282) : warning 202: number of arguments does not match definition
C:\Users\cpt\Desktop\Script Package\pawno\include\FCNPC.inc(295) : error 025: function heading differs from prototype
This is line 282
PHP Code:
return FCNPC_OnPlayerTakeDamage(playerid, issuerid, amount, weaponid, bodypart);
PHP Code:
forward FCNPC_OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart);