[Ajuda] NPC - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] NPC (
/showthread.php?tid=445887)
NPC -
tonisantolia - 23.06.2013
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 ).
Re: NPC -
zSuYaNw - 23.06.2013
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;
}
Re: NPC -
Detonador - 23.06.2013
Segue este meu tutorial:
https://sampforum.blast.hk/showthread.php?pid=2196021#pid2196021