XFawkes Posted May 9, 2010 Share Posted May 9, 2010 How to replace in LUA tshirt ? I would like to add to all players one new tshirt. But idk how to Load TXD, because skins doesn't have IDs so i dont know how to use: shirt = engineLoadTXD("tshirtwhite.txd") engineImportTXD(shirt, [b]???[/b] ) and addPedClothes ( getRootElement(), "tshirtwhite" , "tshirt", 0 ) ? or addPedClothes ( getRootElement(), engineLoadTXD("tshirtwhite.txd") , "tshirt", 0 ) Link to comment
50p Posted May 9, 2010 Share Posted May 9, 2010 How to replace in LUA tshirt ?I would like to add to all players one new tshirt. But idk how to Load TXD, because skins doesn't have IDs so i dont know how to use: shirt = engineLoadTXD("tshirtwhite.txd") engineImportTXD(shirt, [b]???[/b] ) and addPedClothes ( getRootElement(), "tshirtwhite" , "tshirt", 0 ) ? or addPedClothes ( getRootElement(), engineLoadTXD("tshirtwhite.txd") , "tshirt", 0 ) You can't replace CJ's clothes. You can replace all skins but CJ. Unless there is something changed I have missed over last few weeks. 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