SA-MP Forums Archive
NPC - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: NPC (/showthread.php?tid=272249)



NPC - manogugas123 - 27.07.2011

my npc can't connect to my server because server has a register system i put this code :
if(IsPlayerNPC(playerid)) return 1;

but it shows this error:
error 017: undefined symbol "IsPlayerNPC"

how to fix it

ps. sorry for my english if its bad i'm not from england or american.


Re: NPC - Calgon - 27.07.2011

Make sure you're using the includes from 0.3a onwards, otherwise you should include a_npc.


Re: NPC - manogugas123 - 27.07.2011

it doest work y tryed to include a_npc and download 0.3a include same error


Re: NPC - manogugas123 - 28.07.2011

can anyone help me ?


Re: NPC - Skylar Paul - 28.07.2011

Did you make sure to compile (F5) your code after installing and replacing the correct SA:MP includes?


Re: NPC - manogugas123 - 28.07.2011

if you talking about gamemode still the same problem.

ps. on filterscript it works but in gamemode doesn't.