LTBGAN Posted March 22, 2013 Share 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 Link to comment
ZL|LuCaS Posted March 22, 2013 Share Posted March 22, 2013 CJ mods clothing guess not possible. Link to comment
X-SHADOW Posted March 22, 2013 Share Posted March 22, 2013 https://wiki.multitheftauto.com/wiki/Cl ... _functions Link to comment
LTBGAN Posted March 22, 2013 Author Share Posted March 22, 2013 https://wiki.multitheftauto.com/wiki/Client_Scripting_Functions#Clothes_and_body_functions Thank's Maan Link to comment
DNL291 Posted March 23, 2013 Share Posted March 23, 2013 Don't exists a function to replace clothes. You can replace the clothes using shader. Link to comment
Sasu Posted March 23, 2013 Share Posted March 23, 2013 Only you can replace all the skin. Link to comment
ZL|LuCaS Posted March 23, 2013 Share Posted March 23, 2013 Only you can replace all the skin. Link to comment
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