SA-MP Forums Archive
How to Allow NPC's to Get through the Login System. - 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: How to Allow NPC's to Get through the Login System. (/showthread.php?tid=140198)



How to Allow NPC's to Get through the Login System. - Matthew_Johnston - 07.04.2010

I Have XtremeAdmin FS, And I Have the Zombie NPC FS, How do I Allow the zombies into the Game? ( When I Do /zombie They dont Spawn. Even on RCON )


Re: How to Allow NPC's to Get through the Login System. - cloud9 - 08.04.2010

pawn Код:
if(IsPlayerNPC(playerid)) return 1;
Add this in your admin FS, prob OnPlayerConnect or were ever required