yes i figured it out.
in ghmattimysql
open the __resource and add
server_scripts {
‘@mysql-async/lib/MySQL.lua’
}
in the file.
i read through the instructions and saw that it said to edit __resource.lua so it links to mysql so i did what the mysql instructions said which add that line of code to any __resource.lua that requires mysql lmao.
now my only issue is that any car i go in the tires spin sooo fast and such idk what is causing that issue XD
Only thing you needed to do is download the latest release of ghmattimysql, place it in your resources folder so it looks like resources/ghmattimysql, change the db credentials and after that add start ghmattimysql to server.cfg and you are done.
now where in the ghmattimysql/readme file does it say to do that…?
mysql-async isn’t used anymore, not even by ghmattimysql.
You guys probably just pressed the Download or clone button which contains the source code for the resource instead of downloading the actual release from
For this to work you need to delete the config.json file in your /resources/ghmattimysql/ folder. Then the server.cfg needs to be modified by adding set mysql_connection_string "mysql://mysqluser:password@localhost/database?dateStrings=true" before the start ghmattimysql line. As an example it can look like this:
Honestly, this is a must have for trainer menu based servers. It has worked flawlessly through the two months our community has been using it. Thank you for the awesome release
so with ghmattimysql how do i whitelist and how do i give the role to a user, also how can i add loadout for cops in the amorey and cars to the garage??? can someone please help
Can someone make a youtube video, on how to install this onto your server.
As there is two vairents on a mysql data base to use since Async is no longer used.
Can someone just make a youtube video for us server dumb dumbs.
I cant get it do work
Couldn’t start resource police.
now i got the cant start police away and i have
couldn’t load resource ghmattimysql
i tryd the
server_scripts {
‘@mysql-async/lib/MySQL.lua’
}
but it didint work for me
You need to setup ghmattimysql.
Change the mysql credentials in resources/ghmattimysql/config.json and add start ghmattimysql above start police in server.cfg.