[Release] Cops FiveM



Thanks for that info. I tried it, and same error. Username/password is correct, server is, database name, etc. And FiveM still gives the “unable to load resource ghmattimysql” error. Won’t show anything else. No error in the server startup at all. Loads everything.

Only other variable I can think is it hates windows 7 and demands windows 10


The fact that it still says unable to load resource ghmattimysql means that there is something wrong with your setup.

i just did a fresh install to be sure and couldn’t replicate the issue.


Tried a new way of installing everything, got the rest to work. go to install ghmattimysql and it throws this error. using the config file or deleting that and using the connection line in server.cfg still hurls the same error. Not making any sense!

edit: same error in FiveM about “cannot load ghmattimysql” Doesn’t make sense. I follow the directions to a T, configure the server, etc etc and it still tosses errors

C:\FXSERVER\server-data>C:\FXServer\run.cmd +exec server.cfg
Error: unrecognized flag --typed_array_max_size_in_heap=0
Try --help for options
INFO: No channel links found in configuration file.
Found new resource esplugin_mysql in C:/FXSERVER\server-data/resources//esplugin
Found new resource essentialmode in C:/FXSERVER\server-data/resources//essential
Found new resource fivem in C:/FXSERVER\server-data/resources//fivem
Found new resource fivem-awesome1501 in C:/FXSERVER\server-data/resources//fivem
Found new resource fivem-map-hipster in C:/FXSERVER\server-data/resources//fivem
Found new resource fivem-map-skater in C:/FXSERVER\server-data/resources//fivem-
Found new resource ghmattimysql in C:/FXSERVER\server-data/resources//ghmattimys
Found new resource hatt in C:/FXSERVER\server-data/resources//hatt
Found new resource mysql-async in C:/FXSERVER\server-data/resources//mysql-async

Found new resource police in C:/FXSERVER\server-data/resources//police
Found new resource runcode in C:/FXSERVER\server-data/resources//runcode
Found new resource vMenu in C:/FXSERVER\server-data/resources//vMenu
Found new resource es_admin2 in C:/FXSERVER\server-data/resources//[essential]/e
Found new resource race in C:/FXSERVER\server-data/resources//[gamemodes]/race
Found new resource race-test in C:/FXSERVER\server-data/resources//[gamemodes]/r
Resolved live-internal.fivem.net:30110 to
Found new resource channelfeed in C:/FXSERVER\server-data/resources//[gameplay]/
Found new resource irc in C:/FXSERVER\server-data/resources//[gameplay]/irc
Found new resource obituary in C:/FXSERVER\server-data/resources//[gameplay]/obi
Found new resource obituary-deaths in C:/FXSERVER\server-data/resources//[gamepl
Found new resource playernames in C:/FXSERVER\server-data/resources//[gameplay]/
Found new resource mapmanager in C:/FXSERVER\server-data/resources//[managers]/m
Found new resource vf_baseapps in C:/FXSERVER\server-data/resources//[phone]/vf_
Found new resource vf_phone in C:/FXSERVER\server-data/resources//[phone]/vf_pho
Found new resource baseevents in C:/FXSERVER\server-data/resources//[system]/bas
Found new resource chat in C:/FXSERVER\server-data/resources//[system]/chat
Found new resource chat-theme-gtao in C:/FXSERVER\server-data/resources//[system
Found new resource hardcap in C:/FXSERVER\server-data/resources//[system]/hardca
Found new resource rconlog in C:/FXSERVER\server-data/resources//[system]/rconlo
Found new resource scoreboard in C:/FXSERVER\server-data/resources//[system]/sco
Found new resource sessionmanager in C:/FXSERVER\server-data/resources//[system]
Found new resource spawnmanager in C:/FXSERVER\server-data/resources//[system]/s
Found new resource betaguns in C:/FXSERVER\server-data/resources//[test]/betagun
Found new resource gameInit in C:/FXSERVER\server-data/resources//[test]/gameIni
Found new resource keks in C:/FXSERVER\server-data/resources//[test]/keks
Found new resource webpack in C:/FXSERVER\server-data/resources//[system]/[build
Found new resource yarn in C:/FXSERVER\server-data/resources//[system]/[builders
Started resource sessionmanager
Started resource mapmanager
Started resource chat
Started resource spawnmanager
Started gametype Freeroam
Started resource fivem
Started resource hardcap
Started resource rconlog
Started resource scoreboard
Started resource playernames
Started resource ghmattimysql
Loaded vMenuShared.net, Version=, Culture=neutral, PublicKeyToken=null in
to ScriptDomain_1019937135
Loaded vMenuServer.net, Version=, Culture=neutral, PublicKeyToken=null in
to ScriptDomain_1019937135
Instantiated instance of script GHMatti.Http.RequestInternal.
Instantiated instance of script GHMatti.Http.Request.
Instantiated instance of script vMenuServer.BanManager.
Loaded Newtonsoft.Json, Version=, Culture=neutral, PublicKeyToken=30ad4f
e6b2a6aeed into ScriptDomain_1019937135
Instantiated instance of script vMenuServer.MainServer.
Instantiated instance of script vMenuServer.UpdateChecker.
Started resource vMenu
Started resource hatt
Started resource mysql-async
Started resource essentialmode
Started resource esplugin_mysql
Started resource es_admin2
Uncaught AssertionError [ERR_ASSERTION]: unexpected PromiseRejectEvent
internal/errors.js(102,11): AssertionError
assert.js(42,9): innerFail
assert.js(56,3): fail
ghmattimysql.js(278,1556): orm.query
ghmattimysql.js(109,1512): Sequence.end
ghmattimysql.js(260,1314): onConnect
ghmattimysql.js(109,1512): Sequence.end
ghmattimysql.js(489,3184): Handshake.ErrorPacket

AssertionError [ERR_ASSERTION]: unexpected PromiseRejectEvent
Started resource police
Error: (node:8172) UnhandledPromiseRejectionWarning: Error: ER_ACCESS_DENIED_ERR
OR: Access denied for user ‘fivem’@‘localhost’ (using password: YES)
at Handshake.Sequence._packetToError (ghmattimysql.js:109:1148)
at Handshake.ErrorPacket (ghmattimysql.js:489:3136)
at Protocol._parsePacket (ghmattimysql.js:308:5471)
at Parser.write (ghmattimysql.js:314:1645)
at Protocol.write (ghmattimysql.js:308:875)
at Socket. (ghmattimysql.js:140:2050)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Protocol._enqueue (ghmattimysql.js:308:2850)
at Protocol.handshake (ghmattimysql.js:308:1096)
at PoolConnection.connect (ghmattimysql.js:140:2921)
at Pool.getConnection (ghmattimysql.js:260:1073)
at Pool.query (ghmattimysql.js:260:3806)
at Promise (ghmattimysql.js:278:1421)
at new Promise ()
at execute (ghmattimysql.js:278:1386)
at Object.global.exports [as callback] (ghmattimysql.js:278:2014)
at citizen:/scripting/v8/main.js:87:41
Error: (node:8172) UnhandledPromiseRejectionWarning: Unhandled promise rejection
. This error originated either by throwing inside of an async function without a
catch block, or by rejecting a promise which was not handled with .catch(). (re
jection id: 1)
Error: (node:8172) [DEP0018] DeprecationWarning: Unhandled promise rejections ar
e deprecated. In the future, promise rejections that are not handled will termin
ate the Node.js process with a non-zero exit code.
Authenticating server license key…
Server lcfx> icense key authentication succeeded. Welcome!
Performing version check against: https://api.kanersps.pw/em/version?version=6.0

Started map fivem-map-skater
Started resource fivem-map-skater
hitch warning: frame time of 434 milliseconds

[EssentialMode] Current version: 6.0.2
[EssentialMode] Updater version: 6.0.2

[EssentialMode] Everything is nice and updated!

[vMenu] Checking for updates.
[vMenu] Your version of vMenu is up to date! Good job!


is this for exs


no ESX has its own police resource, search the forum or look at github.


thank you for time dude


So I am having a problem understanding, so I need something other than the resource " MySql Async "


mysql-async isn’t required anymore, it has been replaced with ghmattimysql.


Quick Q, im looking to change each department’s clock on uniform to MP model pedvariations, i have no idea where i change that though…


Can we have a version that works with OneSync? Getting errors where it can’t find the nearest ped.


is really nice works well


my server uses a old version of this that has worked fine for us for a while, but recently its not opening the f5 menu, any thoughts or help,(the reason we use the older versions is that we dont use my sql we use couch database)


Can anybody just send a download link with all this stuff included because i won’t work for me please.


Once Cuffed are they able to still walk themselves into the police station?


is anyone able to help me how i add attachments to the weapons ?


(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)


i having trouble i put mine all in and when i put CopAddAdmin it say so no commands


Can someone install the police resource I do not check it out so please contact me


Missing some important features. Check id, Jailer and searching players and cars. Anyone know where I can find a search script? Can’t seem to find one anywhere