How to bypass login
#1

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


/cake
Reply
#2

Use IsPlayerNPC native.
Reply
#3

pawn Код:
IsPlayerNPC(playerid)
Reply
#4

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

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


Forum Jump:


Users browsing this thread: