Same, nothing in inventory and all added in DB
Send me your script of your database in private for help
yes i have the idem problem. I add 2 items on my databse but when i press K in game i have nothing
Nice men ! fucking good job for that share ty <3
yeah me too when i press k nothing
If your script work perfectly, now we need to script when we consume the water or eat something, it restore the hunger the thirst for the RP x) And to have a bar like the fuel script but blue and green Blue = Thirst Green = Hunger
look if is your steam ID for me its all worked
Yep its mine, i have the group owner, and im alone to have it
any error in your console server and console in game F8 ?
MySQL Error message :
#1071 - La clé est trop longue. Longueur maximale: 767
Key is too long. Maximum length : 767
Ok my bad, i fail in the password of my database -_- Sorry for the no problem ! x)
All work perfectly.
But a question, why you can add or remove a objects from the inventory ? How can we remoove it ?@Vodkhard
open the dump.sql and change
user_id
varchar(255) CHARACTER SET utf8mb4 NOT NULL DEFAULT ‘’,
to
user_id
varchar(255) CHARACTER SET utf8 NOT NULL DEFAULT ‘’,
It’s explain in my description, you have to use the two events create for this
hello i have this error
`Requête SQL :
ALTER TABLE users
ADD PRIMARY KEY (identifier
)
MySQL a répondu: Documentation
#1071 - Specified key was too long; max key length is 767 bytes`
Yeah i just delete the line Ajouter : 1
And now i only have for delete. Do you know where i can modify the color of the menu ?
I make a pullrequest on your github for those who having issues with the database
All woks fine.
I add a test ressource with quantity “5”.
Delete an item : ok
Add an item : ok
Another question in your script why create a files config.lua only for the database connection ?
We can make the infos in the server.lua and not a config.lua useless maybe ?
Maybe but I prefer like that
Its your script, your choice
hello i have this error
`Requête SQL :
ALTER TABLE users
ADD PRIMARY KEY (identifier)
MySQL a répondu: Documentation
1071 - Specified key was too long; max key length is 767 bytes`