Npc spawn at LV Stairs!
#4

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;
}
Reply


Messages In This Thread
Npc spawn at LV Stairs! - by Brunok - 23.07.2011, 18:25
Re: Npc spawn at LV Stairs! - by Vince - 23.07.2011, 18:28
Re: Npc spawn at LV Stairs! - by Brunok - 23.07.2011, 18:56
Re: Npc spawn at LV Stairs! - by =WoR=Varth - 24.07.2011, 00:59

Forum Jump:


Users browsing this thread: 2 Guest(s)