MAFINS / MenyooSP

[or Menyoo PC] - Trainer/mod menu for Grand Theft Auto V (single-player).
https://www.gta5-mods.com/scripts/menyoo-pc-sp
GNU General Public License v3.0
786 stars 496 forks source link

Ability to pause ped animation in spooner mode/object spooner #100

Open ahmed605 opened 4 years ago

ahmed605 commented 4 years ago

it would be awesome if its possible to pause (not stop) the animation of ped in the spooner mode into the latest played frame before pressing pause to position the ped correctly to match the animation, Thanks :)

ahmed605 commented 4 years ago

after searching I have found its already possible, see: http://gtaxscripting.blogspot.com/2016/06/tut-gta-v-playing-and-handling.html

you can use GET_ENTITY_ANIM_CURRENT_TIME and SET_ENTITY_ANIM_CURRENT_TIME (on Tick/Timer) to do this

also maybe stop_last_frame flag can be used but I'm not sure