How to load an npc
#2

Just add before register system:
pawn Code:
if(IsPlayerNPC(playerid)) { return 0; }
and under:
pawn Code:
public OnPlayerRequestClass(playerid, classid)
Add:
pawn Code:
if(IsPlayerNPC(playerid)) { return SpawnPlayer(playerid); }
Reply


Messages In This Thread
How to load an npc - by $$Money$$ - 18.12.2011, 23:15
Re: How to load an npc - by titanak - 19.12.2011, 01:35
Re: How to load an npc - by [MM]18240[FMB] - 11.01.2012, 05:27
Re: How to load an npc - by kizla - 11.01.2012, 06:01

Forum Jump:


Users browsing this thread: 1 Guest(s)