Sign in to follow this  
-PhoenixX-

Add New Weapons

Recommended Posts

Hi there , Everyone.

Probably someone already has asked this , but ok...

I wonder is there a way to add new weapons to MTA... I mean I know there is but I don't know how ... Like adding them by scripting them with specific properties. Any help ?

Thanks.

Share this post


Link to post

You cannot add new weapons to MTA/GTA, only skins to existing weapons, and you do this by using:

engineImportTXD 
engineLoadTXD 
  
engineLoadDFF 
engineReplaceModel  

Share this post


Link to post

https://wiki.multitheftauto.com/wiki/Cl ... _functions

Attach the weapon to the player hand and give the player a weapon of those exist in GTA and replace the weapon with invisible txd and dff so that you have the animation of the player holding a weapon and able to aim and try to think about the rest yourself.

Share this post


Link to post

It is so easy to replace the skin , but how to actually ADD weapons ? Maybe it's not possibe :D Or.. ? What is

createWeapon 

for ?

Thanks

Share this post


Link to post
It is so easy to replace the skin , but how to actually ADD weapons ? Maybe it's not possibe :D Or.. ? What is
createWeapon 

for ?

Thanks

As I already said, you cannot add a weapon in GTA/MTA! You can imitate a weapon but it is really hard (You have to mod an object into a weapon, attach it to the player, make sure that the player has the shooting animation when shooting and also create bullet effects and make them effective on the victim)

And createWeapon is to spawn an already exising weapon (Default weapons) as an object on the map, and make them fire (or lets players fire with them I think)

Share this post


Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.