fewagul Posted October 19, 2020 Posted October 19, 2020 How to save items in inventory for each user? For example, the user put a pistol in his inventory and now the pistol will be saved in his inventory. Where should the data be stored about what items are stored and with whom? Thank you.
KaliLinuxF Posted October 19, 2020 Posted October 19, 2020 (edited) i think you can use database, for example - MySQL with Sequelize, if you want to store inventory for 1 session ( without saving after relogin ) you can use this way - https://wiki.rage.mp/index.php?title=Entity::setVariable Edited October 19, 2020 by KaliLinuxF
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