Domingos MTA Posted August 1, 2017 Share Posted August 1, 2017 Does anyone have a script that does this, or do you know how to make these new weapons? If yes please teach me !! Link to comment
NeXuS™ Posted August 2, 2017 Share Posted August 2, 2017 I suppose they've changed the models of the weapons. 1 Link to comment
Dimos7 Posted August 2, 2017 Share Posted August 2, 2017 they are create weapons and have shades or different models mod Link to comment
Domingos MTA Posted August 2, 2017 Author Share Posted August 2, 2017 16 minutes ago, Dimos7 said: they are create weapons and have shades or different models mod Do you know how they created it? Link to comment
Dimos7 Posted August 2, 2017 Share Posted August 2, 2017 (edited) createWeapon engineLoadTXD engineLoadDFF engineImportTXD engineReplaceModel Edited August 2, 2017 by Dimos7 Link to comment
Domingos MTA Posted August 2, 2017 Author Share Posted August 2, 2017 7 minutes ago, Dimos7 said: createWeapon engineLoadTXD engineLoadDFF engineImportTXD engineReplaceModel But how can I make the player use the weapon created? Link to comment
NeXuS™ Posted August 2, 2017 Share Posted August 2, 2017 Quote Creates a custom weapon that can fire bullets. Do not confuse this with player held weapons. 1 Link to comment
Zorgman Posted August 2, 2017 Share Posted August 2, 2017 Replace all weapons with invisible models. Then add all the new weapon models by replacing some useless objects (the pool balls for instance). Equip the new weapons as objects attached to your player's hands. The drawback: all assault rifle variations, for example, will have the same stats. Damage and clip size, maybe range also can be changed with further scripting, however other weapon attributes like rate of fire are shared. 1 Link to comment
Domingos MTA Posted August 2, 2017 Author Share Posted August 2, 2017 12 minutes ago, Zorgman said: Equip the new weapons as objects attached to your player's hands. How can I do this? Link to comment
Zorgman Posted August 2, 2017 Share Posted August 2, 2017 use this: https://community.multitheftauto.com/index.php?p=resources&s=details&id=2540 1 Link to comment
NeXuS™ Posted August 2, 2017 Share Posted August 2, 2017 You can use a script which is called boneattach or create it yourself. 1 Link to comment
Domingos MTA Posted August 2, 2017 Author Share Posted August 2, 2017 23 minutes ago, Zorgman said: use this: https://community.multitheftauto.com/index.php?p=resources&s=details&id=2540 Thanks man, it helped a lot. Last question, how can I make it replace only m4, is it possible? As shown in the picture, if you have a shotgun or other weapon in your hand it will also replace. Link to comment
Zorgman Posted August 2, 2017 Share Posted August 2, 2017 Perform a check for the player's slot and weapon and fire up your function only if m4 equipped. I think it's getPedWeapon, if memory serves. 1 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