18.10.2013, 07:48
How to add a simple NPC
Please be easy
help me
Please be easy
help me
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)); |