skatefilter5 Posted November 28, 2017 Share Posted November 28, 2017 when i perform the animation as when i custom death after wasted the animation is perform and the pause didn't work and it set 1 or 0 because there's no milliseconds the player do the animation then get up and stand alive in a little cutscene 0974: emulated_wasted_busted // +12 hours and clear weapons 067C: put_camera_on_actor $PLAYER_ACTOR offset 0.0 6.0 0.0 rotation 0.0 0.0 0.0 tilt 0.0 switchstyle 2 player.CanMove($PLAYER_CHAR) = false 0812: AS_actor $player_actor perform_animation "KO_skid_front" IFP "ped" framedelta 4.0 loopA 0 lockX 0 lockY 0 lockF 0 time -1 // versionB 0612: set_actor $player_actor animation "KO_skid_front" paused 1 0ACB: show_styled_text "~r~Your Dead!" time 3000 style 4 wait 5000 player.CanMove($PLAYER_CHAR) = true 0792: disembark_instantly_actor $PLAYER_ACTOR 00A1: put_actor $PLAYER_ACTOR at 5811.2783 -7661.1484 8.8275 camera.Restore_WithJumpCut() camera.SetBehindPlayer() Link to comment Share on other sites More sharing options...
madleg Posted November 28, 2017 Share Posted November 28, 2017 repeat wait until animation will be started Link to comment Share on other sites More sharing options...
skatefilter5 Posted November 28, 2017 Author Share Posted November 28, 2017 okay i got it now the actor freeze at the end Link to comment Share on other sites More sharing options...
deltaCJ Posted November 29, 2017 Share Posted November 29, 2017 Use the LOCKF flag, this locks the actor in the final frame of the animation. Link to comment Share on other sites More sharing options...