#1

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.
Reply
#2

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

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

can anyone help me ?
Reply
#5

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

if you talking about gamemode still the same problem.

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


Forum Jump:


Users browsing this thread: 2 Guest(s)