AGENT_STEELMEAT Posted August 7, 2011 Posted August 7, 2011 Hey all, I'm trying to script a character system that can save clothing, but im having issues trying to figure out how to save the clothing ID's in a mysql DB. Should I use a JSON string for each type, one JSON string for all types, or what? Also, how would I go about getting all of the clothing a ped is wearing? I'm pretty confused. Any advice would be great.
MTA Team qaisjp Posted August 7, 2011 MTA Team Posted August 7, 2011 I would say "CJ" is wearing, since only CJ can wear clothes. local clothes for i=0, 17 do texture, model = getPedClothes ( thePed, i ) clothes[texture] = model end ^^ I think you already did that, but I think you should make a JSON string for each type.
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