3B00DG4MER Posted March 31, 2014 Share Posted March 31, 2014 Hello,Today I've made Clothes Shop for CJ only But there is One thing How to Get all Shirt (i think : use for .. inpairs...): That the URL https://wiki.multitheftauto.com/wiki/CJ_Clothes%5CShirt_(0) Link to comment
WhoAmI Posted March 31, 2014 Share Posted March 31, 2014 Can you tell me the function which sets CJ clothes? Then I'd help you. Link to comment
3B00DG4MER Posted March 31, 2014 Author Share Posted March 31, 2014 Can you tell me the function which sets CJ clothes? Then I'd help you. addPedClothes Link to comment
WhoAmI Posted March 31, 2014 Share Posted March 31, 2014 There are 67 shirts, each one has index, so you can loop function for i=1, 67 do getClothesByTypeIndex ( 0, i ) end Then you would get all shirts. Link to comment
3B00DG4MER Posted March 31, 2014 Author Share Posted March 31, 2014 There are 64 shirts, each one has index, so you can loop function for i=1,64 do getClothesByTypeIndex ( 0, i ) end Then you would get all shirts. Thanks! But Question,i can Add for e.g shoes like that ?: for i=1,37 do getClothesByTypeIndex ( 3, i ) end Link to comment
3B00DG4MER Posted March 31, 2014 Author Share Posted March 31, 2014 Yea, why not. Thanks ! Link to comment
3B00DG4MER Posted March 31, 2014 Author Share Posted March 31, 2014 There are 67 shirts, each one has index, so you can loop function for i=1, 67 do getClothesByTypeIndex ( 0, i ) end Then you would get all shirts. How do i get Clothes texture from Index ? Link to comment
3B00DG4MER Posted March 31, 2014 Author Share Posted March 31, 2014 There are 67 shirts, each one has index, so you can loop function for i=1, 67 do getClothesByTypeIndex ( 0, i ) end Then you would get all shirts. How do i get Clothes texture from Index ? Delete that post I've Fixed thanks !!! Who Am I 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