If you have 1 hour, I will add version 1.1 in github with database storage and spawn with weapons when you die and login.
I will change also the names into English.
In fact, from now on all my future releases will be in English and I will not accept french questions. I will still have a french version because the server is in french, but all code I post here will be English.
Removed the changes needed in player.lua. Mod is now 100% copy/paste…
Save all the weapons to the database
Weapons are given back to the player when he dies or login.
Getting weapons back from Roberto cost money. The cost is the price of the weapon/100. (Can be changed)
Also I changed the mod so you do not have to change any other files from the essential Mode.
Note that there is a sql file that you need to run into the database of the game and change
MySQL:open(“127.0.0.1”, “gta5_gamemode_essential”, “root”, “your_password”) in sv_weashop.lua
I think that you didn’t upload the right files : the translation is in french (whatever, I’m french ), the SQL connexion doesn’t appears in sv_weashop.lua, and I still need to have custom player.lua tu get the weapons in the inventory and there is no SQL update of any table of the DB. A mistake ? : D
do we need to add something in the database ? because i cant buy any weapon even if i put 0 cost and other question how do you make the euro in dollar ?