NPCs not working
#5

Quote:

My NPC leaves my server after it joins
Your script is forcing the NPC to login, or you have an anti-cheat / ping kicker that is interfering with your NPC. You can add...
pawn Код:
if(IsPlayerNPC(playerid)) return 1;
... as the first line of any callbacks that bots will use, e.g. OnPlayerRequestClass or OnPlayerRequestSpawn. For an efficient, simple way of excluding NPCs from loops, check out foreach by ******.

Reply


Messages In This Thread
NPCs not working - by EliteUltra - 22.10.2009, 22:20
Re: NPCs not working - by EliteUltra - 22.10.2009, 23:06
Re: NPCs not working - by Streetplaya - 22.10.2009, 23:15
Re: NPCs not working - by EliteUltra - 22.10.2009, 23:31
Re: NPCs not working - by V1ceC1ty - 22.10.2009, 23:57
Re: NPCs not working - by EliteUltra - 23.10.2009, 00:40

Forum Jump:


Users browsing this thread: 2 Guest(s)