Scripting Moderators ds1-e Posted January 18, 2019 Scripting Moderators Share Posted January 18, 2019 (edited) Hello. I am using an setPedAnimation for reload system, but i have two problems which i can't solve. setPedAnimation(source, "rifle", "RIFLE_load", -1, false, true, false, false) 1. During animation you can't move. (looks like freeze but it isn't) 2. Your character stands up when you are crouching. (annoying) Some servers solved it but i don't know how can i fix it on my server, that's why i'm looking for workaround and asking you guys about help. Edited January 18, 2019 by majqq Link to comment
Zorgman Posted January 19, 2019 Share Posted January 19, 2019 For #2, there is a rifle crouch reload animation you could use. 1 Link to comment
Scripting Moderators ds1-e Posted March 1, 2019 Author Scripting Moderators Share Posted March 1, 2019 (edited) bump. Still looking for workaround, after crouch animation character still stands up. if isPedDucked(source) then setPedAnimation(source, "rifle", "RIFLE_crouchload", 1100, false, true, true, false) else setPedAnimation(source, "rifle", "RIFLE_load", 1100, false, true, true, false) end Edited March 1, 2019 by majqq Link to comment
Scripting Moderators ds1-e Posted March 4, 2019 Author Scripting Moderators Share Posted March 4, 2019 Found a workaround, solved. https://bugs.multitheftauto.com/view.php?id=7127 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