SA-MP Forums Archive
NPC Crashes - 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 Crashes (/showthread.php?tid=318967)



NPC Crashes - Feli97 - 17.02.2012

Hi all, when an NPC connects after some seconds it crashes, why?


Re: NPC Crashes - minijackc - 17.02.2012

If you run the npc by Mysql you have somthing wrong in the "table"


Re: NPC Crashes - Feli97 - 17.02.2012

I don't run the NPC by MySQL, he simply logs and then he crashes.


Re: NPC Crashes - Feli97 - 17.02.2012

Help me please


Re: NPC Crashes - Konstantinos - 17.02.2012

If you use anti-cheat etc, it will interfering with the NPC, it's good to use
pawn Код:
if( IsPlayerNPC( playerid ) ) return 1;
in the callbacks like OnPlayerRequestClass or OnPlayerRequestSpawn


Re: NPC Crashes - Srijan - 12.09.2014

I have the same problem,
I tried your suggestion, it still dosent work