SA-MP Forums Archive
[HELP] NPC Trouble - 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: [HELP] NPC Trouble (/showthread.php?tid=120023)



[HELP] NPC Trouble - jonrb - 10.01.2010

((Sorry in advance if this is in the wrong place))
I have a problem with my NPC script:
OnNPCSpawn() is never called.
EDIT: Upon further tests, i found that OnNPCConnect() is never called either
My script gives no errors, and the NPC exists in his correct place. What is the problem?

My only theory is that the NPC has no record file.

Thank you!
Jonrb


Re: [HELP] NPC Trouble - Doppeyy - 10.01.2010

If the NPC has no record file it doesnt excist.
Use this link to help you further.

[Doppeyy


Re: [HELP] NPC Trouble - jonrb - 10.01.2010

Thank you, but he definetly exists because he is visible in the server and i was able to set his pos and skin in my main FS.
I may try giving him a non-moving recording, or a blank one.