Applying an animation to an idle npc?
#1

How do I apply an animation to an npc with this code so far?
pawn Код:
public OnGameModeInit()
{
    ConnectNPC("[BOT]BigSmoke", "npcidle");
    return 1;
}

public OnPlayerConnect(playerid)
{
    if(IsPlayerNPC(playerid))
    {
        if(!strcmp(playerName(playerid), "[BOT]BigSmoke", true))
        {
            SetPlayerSkin(playerid, 269);
            SetPlayerInterior(playerid, 3);
            SetPlayerPos(playerid, 512.8655, -17.4405, 1001.5653);
            SetPlayerFacingAngle(playerid, 342.9513);
        }
}
    return 1;
}
Reply


Messages In This Thread
Applying an animation to an idle npc? - by arko123 - 25.01.2014, 20:42
Re: Applying an animation to an idle npc? - by CyNiC - 25.01.2014, 20:44
Re: Applying an animation to an idle npc? - by arko123 - 25.01.2014, 20:54
Re: Applying an animation to an idle npc? - by arko123 - 25.01.2014, 21:31
Re: Applying an animation to an idle npc? - by CyNiC - 28.01.2014, 21:16
Re: Applying an animation to an idle npc? - by Vince - 28.01.2014, 21:27
Re: Applying an animation to an idle npc? - by [KHK]Khalid - 28.01.2014, 22:16

Forum Jump:


Users browsing this thread: 2 Guest(s)