Jump to content

Help


LTBGAN

Recommended Posts

Posted

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

560x95.png
Posted

Don't exists a function to replace clothes. You can replace the clothes using shader.

Please do not PM me with scripting related question nor support, use the forums instead.

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