SA-MP Forums Archive
How to bypass login - 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 bypass login (/showthread.php?tid=104845)



How to bypass login - Daniel_Truk - 26.10.2009

Hello i wonder how to bypass the login for a npc because i dont want to Change my whole register thingy


/cake


Re: How to bypass login - Sergei - 26.10.2009

Use IsPlayerNPC native.


Re: How to bypass login - AG Adam - 26.10.2009

pawn Код:
IsPlayerNPC(playerid)



Re: How to bypass login - Annihalation - 26.10.2009

put this at the top of your code (I'm assuming they are told to login onPlayerConnect):

Код:
if(IsPlayerNPC(playerid))return 1;