[Ajuda] NPC
#1

Estou um tempo sem mecher com NPC entгo.. Nгo estou conseguindo aplicar animaзгo no mesmo.. Script:
pawn Код:
if(!strcmp(Nome(playerid),"Porteiro_DP[1]",true)) {
            SetPlayerSkin(playerid,16);
            SetPlayerPosEx(playerid,1544.1935,-1631.9834,13.3828,100.0067);
            ApplyPlayerAnimation(playerid, "COP_AMBIENT", "Coplook_think", 4.0, 1, 0, 0, 0, 0);
            return false;
        }
Isso em OnPlayerSpawn.

Creditos da ApplyPlayerAnimation: ipsBruno ( eu acho ).
Reply
#2

pawn Код:
if(!strcmp(Nome(playerid),"Porteiro_DP[1]",true)) {
            SetPlayerSkin(playerid,16);
            SetPlayerPosEx(playerid,1544.1935,-1631.9834,13.3828,100.0067);
           
            ClearAnimations(playerid);
            ApplyPlayerAnimation(playerid, "COP_AMBIENT", "Coplook_think", 4.0, 1, 0, 0, 0, 0);
            return false;
        }
Reply
#3

Segue este meu tutorial:
https://sampforum.blast.hk/showthread.php?pid=2196021#pid2196021
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)