FiveM-Scripts / Cops_FiveM

A cops script for FiveM
https://forum.fivem.net/t/release-cops-fivem/17460
GNU Affero General Public License v3.0
69 stars 56 forks source link

No such export execute in resource ghmattimysql #173

Closed galaxy-programming closed 4 years ago

galaxy-programming commented 4 years ago

Cops-FiveM doesn't work because of this error

ghermans commented 4 years ago
  1. Remove your current ghmattimysql folder in case it already exists.
  2. Download https://github.com/GHMatti/ghmattimysql/releases/download/1.2.1/ghmattimysql.zip .
  3. Extract the zip file and rename the folder to ghmattimysql
  4. Go to ghmattimysql/config.json and edit your database name/user/password.
  5. Copy / paste the ghmattimysql folder to resources.
  6. Open server.cfg and add ensure ghmattimysql.
ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure fivem
ensure hardcap
ensure rconlog
ensure ghmattimysql
ensure police
  1. Once all the above steps are completed (re)start your server and try if it works.