SA-MP Forums Archive
ApplyAnimation Actor Not Work - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: ApplyAnimation Actor Not Work (/showthread.php?tid=622258)



ApplyAnimation Actor Not Work - TYDS - 20.11.2016

ApplyAnimation(Actor[20],"BD_FIRE", "wash_up", 4.0, 1, 0, 0, 0, 0, 1);
ApplyAnimation(Actor[21],"PED", "IDLE_CHAT", 4.0, 1, 0, 0, 0, 0, 1);
ApplyAnimation(Actor[22],"GANGS", "prtial_gngtlkA", 4.0, 1, 0, 0, 0, 0, 1);


Re: ApplyAnimation Actor Not Work - GoldenLion - 20.11.2016

https://sampwiki.blast.hk/wiki/ApplyActorAnimation


Re: ApplyAnimation Actor Not Work - TYDS - 20.11.2016

Quote:
Originally Posted by GoldenLion
Посмотреть сообщение
oh i am stupid sorry


Re: ApplyAnimation Actor Not Work - TYDS - 20.11.2016

have warning
warning 202: number of arguments does not match definition

ApplyActorAnimation(Actor[19],"ROB_BANK", "SHP_HandsUp_Scr", 4.0, 1, 0, 0, 0, 0, 1);
ApplyActorAnimation(Actor[20],"ROB_BANK", "SHP_HandsUp_Scr", 4.0, 1, 0, 0, 0, 0, 1);
ApplyActorAnimation(Actor[21],"ROB_BANK", "SHP_HandsUp_Scr", 4.0, 1, 0, 0, 0, 0, 1);
ApplyActorAnimation(Actor[22],"ROB_BANK", "SHP_HandsUp_Scr", 4.0, 1, 0, 0, 0, 0, 1);


Re: ApplyAnimation Actor Not Work - Chump - 20.11.2016

Remove the last parameter in those lines of code (, 1).


Re: ApplyAnimation Actor Not Work - TYDS - 20.11.2016

Quote:
Originally Posted by Chump
Посмотреть сообщение
Remove the last parameter in those lines of code (, 1).
oke fixed thank you