Jump to content

[HELP] Clothing bug


Backsage

Recommended Posts

Nvm, fixed it. I think what the problem was when it was doing

if string.find(text, texture) and string.find(text, model) then

and whenever I clicked on clothing items such as vestblack - vest, it would see that vest was in vestblack, so it ended up becoming vest - vest actually. And when I clicked leathertr - leathertr or leathertrchaps - leathertr, because leather was in those words, it ended up being leather - leather AND leathertr - leathertr or leathertrchaps - leathertr.
Fixed it using a method from here: https://forum.multitheftauto.com/topic/33967-addpedclothes/

 

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...