031__FP Posted February 15 Share Posted February 15 (edited) Tenho um script onde o jogador levanta as maos so que quando eu abro essa animação o jogador meche os ombros e atrapalha a segurar a roupa queria deixar os ossos dos braços sem mecher enquanto estiver com a animaçao apenas as pernas Meu script: addEventHandler("onClientPedsProcessed",root,function() -- add the event for i,v in ipairs(getElementsByType('player',root,true)) do -- loop all players -- just an exmaple anim setElementBoneRotation(v, 33, 70, -500.0, -15) setElementBoneRotation(v, 23, -100, -500.50, 0) updateElementRpHAnim(v) -- Update ped bones animations end end) Isso e so a base do codigo ela esta dividida em 3 partes mais essa e a dos ossos e animaçao Edited February 15 by Lord Henry Código convertido de HTML para Lua. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now