Jump to content

Weapon ID to two Model ID's


dewu

Recommended Posts

Posted (edited)

Hi guys. I got the question,

is this way to use one weapon ID to two Model ID's?

Expample:

{weapon id, model id},

{33, 357}, 

and i want:

{33, 357 and 372}, 

I want to use same weapon ID's in two models of weapons.

I'm newbie in LUA scriptering :)

Edited by Guest
Posted

You can't have two models at the same time, but you can change them, it would be global of course.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
engineLoadTXD 
engineImportTXD 
engineLoadDFF 
engineReplaceModel 

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

I use

weaponTXD = engineLoadTXD("items/crossbow.txd") 
engineImportTXD(weaponTXD, 372) 
weaponDFF = engineLoadDFF("items/crossbow.dff", 372) 
engineReplaceModel(weaponDFF, 372) 
  
weaponTXD = engineLoadTXD("items/lee_enfield.txd") 
engineImportTXD(weaponTXD, 357) 
weaponDFF = engineLoadDFF("items/lee_enfield.dff", 357) 
engineReplaceModel(weaponDFF, 357) 

it's really hard to explain, but I want to use one weapon ID to both.

Please about some easier instructions :D

Posted

So, how to add new Weapon ID?

If not, , maybe is way to duplicate Weapon ID (ex. 33 - Country Rifle) for ex. 32 (Tec-9)?

I don't use Tec-9 ID and i want to have the same animation effects ingame like in Country-Rifle.

Posted

You can't add new model IDs.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...