02.05.2012, 12:36
Some callbacks (OnPlayerConnect, OnPlayerRequestClass, OnPlayerSpawn, OnPlayerRequestSpawn etc.) in your gamemode (or another filterscript) might stop the NPC from spawning. For example a login dialog that asks a player to input password before he/she can continue. It asks the password from NPC too and it will just stay there forever and doesn't spawn.
This is just a guess. Just look at these callbacks, see what parts should the NPC ignore and add these lines where necessary.
This is just a guess. Just look at these callbacks, see what parts should the NPC ignore and add these lines where necessary.
pawn Код:
if(IsPlayerNPC(playerid)) return 1;