Jump to content

Help


LTBGAN

Recommended Posts

I need to make a scrip to replace the CJ shirts.

But I'm troubled about the REPLACE.

Anyone know one is to make this easier?

local weapons = { 
   {fileName="ak47", model=355}, 
   {fileName="colt", model=346} 
function load() 
    for index, weapon in pairs(weapons) do 
        txd = engineLoadTXD ( weapon.fileName.. ".txd" ) 
        engineImportTXD ( txd, weapon.model ) 
        dff = engineLoadDFF ( weapon.fileName.. ".dff", 0 ) 
        engineReplaceModel ( dff, weapon.model ) 
    end 
end 

Would like to swap SHIRTS? What would be the commands?

I do not know script :( I'm starting now. I appreciate any help.

Sorry for my bad english, I'm using google translater

Link to comment

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...