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

The title is the question
Reply
#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
#3

Thanks Alot!
Reply
#4

No Problem. Just follow that Tutorial and you'll make it.
Reply
#5

also is it possible to make the npc attack??
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)