LTBGAN Posted March 22, 2013 Posted March 22, 2013 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
X-SHADOW Posted March 22, 2013 Posted March 22, 2013 https://wiki.multitheftauto.com/wiki/Cl ... _functions
LTBGAN Posted March 22, 2013 Author Posted March 22, 2013 https://wiki.multitheftauto.com/wiki/Client_Scripting_Functions#Clothes_and_body_functions Thank's Maan
DNL291 Posted March 23, 2013 Posted March 23, 2013 Don't exists a function to replace clothes. You can replace the clothes using shader.
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