Grozz Posted November 14, 2017 Share Posted November 14, 2017 I want to force the player to run and aim at the same time with machine guns. (M4, AK47) Link to comment
DRW Posted November 14, 2017 Share Posted November 14, 2017 (edited) https://wiki.multitheftauto.com/wiki/SetWeaponProperty This, to activate weapon flags to give certain weapons the capability to be aiming with while running. Edited November 14, 2017 by MadnessReloaded Link to comment
Grozz Posted November 14, 2017 Author Share Posted November 14, 2017 1 hour ago, MadnessReloaded said: https://wiki.multitheftauto.com/wiki/SetWeaponProperty This, to activate weapon flags to give certain weapons the capability to be aiming with while running. Can you give an example please? Link to comment
DRW Posted November 14, 2017 Share Posted November 14, 2017 (edited) Oh, sure, haven't been specific: This will make the M4 one-handed so you can run with it. The 0x000000 values are here: https://wiki.multitheftauto.com/wiki/Weapon_Flags setWeaponProperty (31,"poor","flags",0x000002) --Use only one arm so you can execute the running animation setWeaponProperty (31,"poor","flags",0x000008) --Free aim thing setWeaponProperty (31,"poor","flags",0x000010 ) --This will let you run and aim at the same time setWeaponProperty (31,"poor","flags",0x000020 ) --This will let you run and fire at the same time Note: The "poor" thing specifies which skill level you have of that specific weapon. You can either use "poor", "std" and "pro". Edited November 14, 2017 by MadnessReloaded 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