Akatsuki Posted July 15, 2023 Share Posted July 15, 2023 Hello, I am using a translator from Spanish to English. I need help with a resource widely used in the Argentine and Latin American community, the famous panel of accessories for your vehicle, I would like to know how to limit the number of accessories that users can add to the vehicle, I hope you can help me, thank you very much. Link to comment
FallenGod Posted July 16, 2023 Share Posted July 16, 2023 Hey , Whats Up , I Hope I Can Help You You Can Use SetElementData (https://wiki.multitheftauto.com/wiki/SetElementData) Or Table (https://www.lua.org/pil/2.5.html) To Save Count accessories Player Added ! But Thats Code Not Save When Player Quit Or Disconnect You Should Use SQL Or SQLite To Save Data If You Don't Understand You Can Send Me Your accessories Resource To I Can Help You More ! Link to comment
Akatsuki Posted July 17, 2023 Author Share Posted July 17, 2023 Thanks, I just sent you a request on Discord. 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