24.07.2011, 00:59
You can set NPC pos in OnPlayerSpawn
pawn Код:
public OnPlayerSpawn(playerid)
{
if(IsPlayerNPC(playerid))
{
new npcname[24];
GetPlayerName(playerid, npcname, sizeof(npcname));
if(!strcmp(npcname, "Hotdog", true))
{
SetPlayerSkin(playerid, 168);
SetPlayerPos(playerid,xxx,xxx,xxx);
}
}
return 1;
}