How to create Npc and tell where the npc should spawn??
#2

https://sampforum.blast.hk/showthread.php?tid=95034
And if you want to set his position (which is kinda useless since it will load info from file) use
pawn Код:
public OnPlayerSpawn(playerid)
{
    if(IsPlayerNPC(playerid)) SetPlayerPos(playerid,x,y,z);
    return 1;
}
Reply


Messages In This Thread
How to create Npc and tell where the npc should spawn?? - by telefatguy88 - 10.12.2011, 22:12
Re: How to create Npc and tell where the npc should spawn?? - by [MG]Dimi - 10.12.2011, 22:15
Re: How to create Npc and tell where the npc should spawn?? - by telefatguy88 - 10.12.2011, 22:16
Re: How to create Npc and tell where the npc should spawn?? - by [MG]Dimi - 10.12.2011, 22:18
Re: How to create Npc and tell where the npc should spawn?? - by telefatguy88 - 10.12.2011, 22:23

Forum Jump:


Users browsing this thread: 1 Guest(s)