SA-MP Forums Archive
How to Connect NPC - 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: How to Connect NPC (/showthread.php?tid=366971)



How to Connect NPC - NinjaChicken - 08.08.2012

Hi, im using the NGRP script and im wondering how do i get a NPC to connect they join an leave i thinks it cause of the tutorial system please help


Re: How to Connect NPC - Jstylezzz - 08.08.2012

add exceptions, like,
pawn Код:
public OnPlayerConnect(playerid)
{
if(IsPlayerNPC(playerid)) return 1;
}
With this you can skip the tutorial, you can skip the login, and other things you want to skip