Animation and Holding Object
#6

What's the animation? If it's carrying animation, you can try applying special action:

Код:
 25 - SPECIAL_ACTION_CARRY       - Will apply a 'carrying' animation to the player and make them unable to sprint, jump or punch
Other way, there's none as I can't think of one. Maybe someone else will be able to help and correct me, if I am wrong.

edit://
Quote:
Originally Posted by [GF]Sasino97
Посмотреть сообщение
Yes, in ApplyAnimation (https://sampwiki.blast.hk/wiki/ApplyAnimation) there are a 'freeze' and a 'time' parameters. Set freeze to true, and time to the amount of time in milliseconds you want the player to be frozen (set 0 for indefinite)
I am late, but.. freeze parameter means that at the end of the animation player will NOT get back to the NORMAL ped standing animation. He will just get frozen at the end of the animation and he won't be able to move.
Reply


Messages In This Thread
Animation and Holding Object - by yancarlos4500 - 10.05.2014, 22:12
Re: Animation and Holding Object - by RenSoprano - 10.05.2014, 22:15
Re: Animation and Holding Object - by yancarlos4500 - 10.05.2014, 22:24
Re: Animation and Holding Object - by yancarlos4500 - 15.05.2014, 21:14
Re: Animation and Holding Object - by Sasino97 - 15.05.2014, 21:17
Re: Animation and Holding Object - by Riddick94 - 15.05.2014, 21:18
Re: Animation and Holding Object - by Sasino97 - 15.05.2014, 21:22
Re: Animation and Holding Object - by yancarlos4500 - 16.05.2014, 00:41

Forum Jump:


Users browsing this thread: 3 Guest(s)