SA-MP Forums Archive
How to animation attached object read plz help - 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: How to animation attached object read plz help (/showthread.php?tid=358919)



How to animation attached object read plz help - UserName31 - 12.07.2012

hey people i have dcmd_robstore and i all ready know were to put the animation but i just dont know how to attached animation



ok this animation id
PHP код:
1829 
is the money box

here what i have

PHP код:
           SetPlayerAttachedObjectplayerid2182910.0824611.2830640.0169575.36787791.2508460.0000001.0000001.0091261.279019 ); // man_safenew - money box
            
ApplyAnimation(playerid,"ROB_BANK","CAT_Safe_Rob",4.1,1,1,1,1,1,1); 
i want it to do that animation with the box sametime
and people can cancel the animation when they click fire key

please help


Re: How to animation attached object read plz help - warcodes_ - 12.07.2012

OnPlayerKeyStateChange/ClearAnimations?