18.11.2013, 13:46
Hi everyone.
I created NPC without recording file with
When i'm setting up skin and position nothing is happening. NPC not appears in that position. By the way, position is good.
Please, help
I created NPC without recording file with
Код:
public OnGameModeInit()
{
ConnectNPC("Player","idle");
return true;
}
Код:
public OnPlayerSpawn(playerid)
{
if(IsPlayerNPC(playerid))
{
if(playerid == GetPlayerID("Player"))
{
SetPlayerSkin(playerid, 180);
SetPlayerPos ( playerid, -1119.6813,-1058.2977,129.7554);
}
}
return true;
}


