How to add a simple NPC
#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


Messages In This Thread
How to add a simple NPC - by par30 - 18.10.2013, 07:48
Re: How to add a simple NPC - by par30 - 18.10.2013, 08:08
Re: How to add a simple NPC - by par30 - 18.10.2013, 08:49
Re: How to add a simple NPC - by Konstantinos - 18.10.2013, 08:59
Re: How to add a simple NPC - by RedCountyRP - 18.10.2013, 09:00
Re: How to add a simple NPC - by par30 - 18.10.2013, 09:06
Re: How to add a simple NPC - by Konstantinos - 18.10.2013, 09:17
Re: How to add a simple NPC - by par30 - 18.10.2013, 09:41
Re: How to add a simple NPC - by par30 - 18.10.2013, 10:53

Forum Jump:


Users browsing this thread: 7 Guest(s)