How to add a simple NPC
#1

How to add a simple NPC
Please be easy
help me
Reply
#2

up
Reply
#3

help me
Reply
#4

https://sampforum.blast.hk/showthread.php?tid=95034
Reply
#5

Is this what you're looking for? https://sampwiki.blast.hk/wiki/NPC:Main_Page
Reply
#6

Quote:

public OnPlayerSpawn(playerid)
{
if(IsPlayerNPC(playerid))
{
if(strcmp(PlayerName(playerid), "customer") == 0)
{
SetPlayerPos(86,-1540.0477, 931.9312, 6.96);
SetPlayerPos(87,-1540.0477, 931.8312, 5.96);

}
return 1;
}
new string[128];
new pname[128];

GetPlayerName(playerid,pname,sizeof(pname));

what not show palyer ?!
Reply
#7

If the NPC is type 'On foot', then you don't need to use OnPlayerSpawn.
Reply
#8

Can you help me to re-install npc?
Reply
#9

upppppp
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)