TheRock254 Posted April 21, 2014 Posted April 21, 2014 How I do increase firing speed weapon, lower recoil, set the clip size, damage and movement speed?
toxicsmoke11 Posted April 21, 2014 Posted April 21, 2014 https://wiki.multitheftauto.com/wiki/SetWeaponProperty
TheRock254 Posted April 21, 2014 Author Posted April 21, 2014 Hmm. Thank you but what is the "poor, std and pro" ? setWeaponProperty(22, "poor", "weapon_range", 70) setWeaponProperty(22, "std", "weapon_range", 70) setWeaponProperty(22, "pro", "weapon_range", 70) and what is the "accuracy" and how to use "accuracy, damage, move_speed, target_range"? Can you give me example?
myonlake Posted April 22, 2014 Posted April 22, 2014 (edited) Poor, std (standard) and pro (professional) are weapon skill levels. The property names are in pure English and there's not much someone can explain better. Accuracy stands for how well the weapon can hit the target without large spread from the muzzle position. Damage stands for how much the target receives health loss, which lowers the target's health, obviously. Move speed stands for how fast you can move with the weapon equipped on you. Target range stands for how how far you are able to aim an entity at. You can use these and many other properties by simply changing the third argument of the setWeaponProperty function to whatever property you want to change. The first argument is for the weapon ID, the second one is for which weapon skill you want to place the stat on, the fourth one is for the property value. Edited April 22, 2014 by Guest
aintaro Posted April 22, 2014 Posted April 22, 2014 Poor, std (standard) and pro (professional) are weapon skill levels.The property names are in pure English and there's not much someone can explain better. Accuracy stands for how well the weapon can hit the target without large spread from the muzzle position. Damage stands for how much the target receives health loss, which lowers the target's health, obviously. Move speed stands for how fast you can move with the weapon equipped on you. Target range stands for how how far you are able to shoot with the weapon. You can use these and many other properties by simply changing the third argument of the setWeaponProperty function to whatever property you want to change. The first argument is for the weapon ID, the second one is for which weapon skill you want to place the stat on, the fourth one is for the property value. Whats the use for the "pro" "std" and "poor" weapon skil llevels?
myonlake Posted April 22, 2014 Posted April 22, 2014 They're just to define different levels. Pro is the highest, poor is the lowest.
TheRock254 Posted April 22, 2014 Author Posted April 22, 2014 setWeaponProperty(22, "pro", "maximum_clip_ammo", 90) Im make this but it's not worked!
TheRock254 Posted April 22, 2014 Author Posted April 22, 2014 Oh ok, thnx. But; What is the: weapon_range and how to set fire speed?
myonlake Posted April 22, 2014 Posted April 22, 2014 I doubt you can set the fire speed. Weapon range stands for how far the weapon is able to shoot bullets. Target range stands for how far you are able to aim an entity at.
Einheit-101 Posted April 22, 2014 Posted April 22, 2014 You can change the Fire rate by changing the animation times (anim_loop_start, anim_loop_bullet_fire and anim_loop_stop). This is a hacky way, but the real "fire_rate" setting is get only in MTA 1.3.
TheRock254 Posted April 22, 2014 Author Posted April 22, 2014 Hmm. And how to set maximum total ammo?
Einheit-101 Posted April 23, 2014 Posted April 23, 2014 Total Ammo is not really limited, if you are talking about clip ammo then change the maximum_clip_ammo property.
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