SA-MP Forums Archive
NPC problem - 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)
+--- Thread: NPC problem (/showthread.php?tid=594142)



NPC problem - Beasthian - 14.11.2015

How do we get NPC to load?

I think its a problem because of the registering system. Any way that NPC can by pass this?
I pretty sure this is why the NPC does not spawn.

He does not get kicked btw and the server does have ping kicker etc


Re: NPC problem - iKarim - 14.11.2015

PHP код:
if(IsPlayerNPC(playerid)) return 1



Re: NPC problem - Beasthian - 15.11.2015

Quote:
Originally Posted by PawnHunter
Посмотреть сообщение
PHP код:
if(IsPlayerNPC(playerid)) return 1
And were do I add this?


Re: NPC problem - AIped - 15.11.2015

At connect or/and spawn