Parazitas Posted August 13, 2018 Share Posted August 13, 2018 (edited) Hello guys. im stuck in this script.. tying to make death animation then player gets killed in head but.. it's not working.. maybe some help? function animacija(attacker, weapon, bodypart, loss) if (bodypart == 9) then setPedAnimation(source, "ped", "KO_shot_face") end end addEventHandler("onPlayerWasted", getRootElement(), animacija) Edited August 13, 2018 by Parazitas Link to comment
MIKI785 Posted August 13, 2018 Share Posted August 13, 2018 You're using onPlayerWasted, I'm not sure if you can set an animation to a dead player/ped. Use onPlayerDamage instead. Link to comment
Parazitas Posted August 13, 2018 Author Share Posted August 13, 2018 50 minutes ago, MIKI785 said: You're using onPlayerWasted, I'm not sure if you can set an animation to a dead player/ped. Use onPlayerDamage instead. thanks.. but now then I got 1 hit in face I reapeat this anim.. Link to comment
Keiichi1 Posted August 13, 2018 Share Posted August 13, 2018 You can clone the dead player with an alive ped and set the actual player dimension to a different dimension. 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