Fist Posted September 26, 2015 Posted September 26, 2015 Hello! I just wanted to ask how i can change for every weapon aiming animation from old to this http://prntscr.com/8kvbav ? Tried reading wiki but still couldnt find it.
Fist Posted September 27, 2015 Author Posted September 27, 2015 Use setWeaponProperty but which one i should use? i dont understand. -.-
KariiiM Posted September 27, 2015 Posted September 27, 2015 but which one i should use? i dont understand. -.- I think this "flag_anim_crouch"
Fist Posted September 27, 2015 Author Posted September 27, 2015 but which one i should use? i dont understand. -.- I think this "flag_anim_crouch" nope, or im doing something wrong. Can anyone give example?
KariiiM Posted September 27, 2015 Posted September 27, 2015 Try something like that setWeaponProperty ( 31,"pro","flag_anim_crouch", true )
Fist Posted September 27, 2015 Author Posted September 27, 2015 Try something like that setWeaponProperty ( 31,"pro","flag_anim_crouch", true ) it doesnt give any effect.
KariiiM Posted September 27, 2015 Posted September 27, 2015 Maybe, you need to declare it to meta.xml
Fist Posted September 27, 2015 Author Posted September 27, 2015 Maybe, you need to declare it to meta.xml declare? What you mean?
KariiiM Posted September 27, 2015 Posted September 27, 2015 Note: Using this function requires the resource to have the above minimum version declared in the meta.xml section. e.g. Also, use /debugscript 3 to check if there's any error
Fist Posted September 27, 2015 Author Posted September 27, 2015 Note: Using this function requires the resource to have the above minimum version declared in the meta.xml section. e.g. oh, that. I already did it, cause it gave me warnings. But still nothing.
KariiiM Posted September 27, 2015 Posted September 27, 2015 Note: Using this function requires the resource to have the above minimum version declared in the meta.xml section. e.g. oh, that. I already did it, cause it gave me warnings. But still nothing. Maybe there's something wrong with this function , im about to report it
Fist Posted September 28, 2015 Author Posted September 28, 2015 So could anyone give me code that sets that weapon aiming style? Cause its like on every server. Wtf?
Fist Posted September 30, 2015 Author Posted September 30, 2015 #Solved! For those who are interested too use this function to set player weapon skill to 999, then it will work. setPedStat
NegativeIQ Posted September 30, 2015 Posted September 30, 2015 setWeaponProperty ( 31,"pro","flag_anim_crouch", true ) https://wiki.multitheftauto.com/wiki/SetWeaponProperty weaponSkill: Either: "pro", "std" or "poor". The player must have this skill level set to have the effect. Instead of using setPlayerStat and improving weapon accuracy for given ped (can make game a little unbalanced), just use right weaponSkill as it was meant to be used. Above example (posted by: KariiiM) is for PRO skill. Just set same flag for each one of the thee skill levels (pro, std, poo). I never used these function but wiki says it all...
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