config = {
debug = false,
language = 'en',
autoCheckVersion = true,
LogDisconnect = true,
LogConnect = true,
LogChat = true,
LogKills = true, -- Log when a player kill an other player.
LogPnjKills = true, -- Log when a player has been killed by a pnj.
LogEnterPoliceVehicle = true, -- Log when an player enter in a police vehicle.
LogEnterBlackListedVehicle = true, -- Log when a player enter in a blacklisted vehicle. Blacklisted vehicles are vehicles in te "blacklistedModels" array.
DeleteWhenEnterBlackListedVehicle = true, -- if it's on "true", when a player enter in one of blacklisted vehicles, it's going to depop.
LogWhenHaveBlackListedGun = true, -- Log when a player gets a blacklisted gun.
DeleteBlackListedGun = true, -- if it's on true, when a player gets a blacklisted gun, it's going to be removed.
admins = {
"steam:11000010bXXXXXX"
"steam:110000103XXXXXX"
"steam:110000136XXXXXX"
},
blacklistedModels = { -- By default, it's all the military vehicles
GetHashKey("trailersmall2"),
GetHashKey("apc"),
GetHashKey("barrage"),
GetHashKey("chernobog"),
GetHashKey("halftrack"),
GetHashKey("rhino"),
GetHashKey("scarab"),
GetHashKey("scarab2"),
GetHashKey("scarab2"),
GetHashKey("scarab3"),
GetHashKey("thruster"),
GetHashKey("khanjali")
},
blacklistedGuns = {
--Get models id here : https://pastebin.com/0wwDZgkF
--0x99B507EA,
--0x42BF8A85,
},
openMenuKey = 207 -- PGDWN
}
It has to be :
admins = {
"steam:11000010bXXXXXX" ,
"steam:110000103XXXXXX" ,
"steam:110000136XXXXXX"
},
(You just need to put a â,â after each admins except the last one)
then why wonât it work for me? iâve tried restarting the server, restarting the resource, restarting my game, etc
It seems that the ressource is working for some people but doesnât for others, I actually donât know why. Can you send me your configuration file, please ? 
This is embarassing⌠It was right in front of my eyes and i couldnât see it. Thank you @n0thus . It works perfectly fine now.
The only issue that i have now is when players kill players or NPCâs , it says âPNJ/Suicideâ on Kill logs.
Weapons and vehicles do not work in your system
Please solve the problem as quickly as possible
This is an awesome script! Thanks for such a cool resource to use.
+1 for money transfer
Also maybe logs for
when someone enters a vehicle then it turns into another vehicle without them exiting.
Checks when you enter the car > Checks again when you exit
then If it doesnât match logs the user
menu not opening for me
Do you know how to take off the kill messages in the corner? For my fivem server?
Can not use this in vrp? F9 I get a window with a SQL error but I can not get others to connect âŚ
I canât see who killed a victim.
Iâm on OneSync
Clear the logs once in a while⌠you donât need to keep everything
how i can use it in game? like a command
Hi there. Trying to get this to work for my server but the vehicle logs seem to be a bit temperamental. The police cars get logged just fine but as soon as someone gets into a blacklisted vehicle it breaks the vehicle logs police cars included until i log out and rejoin. i get the following error as well when getting into a blacklisted vehicle for the first time SCRIPT ERROR: @logsystem/client/vehicles.lua:47: attempt to index a nil value (global 'GcurrentCoords') Once i get this error nothing gets logged in the vehicle logs. any help would be appreciated
i love this script for everything and ive added the script to the cl_chat.lua but i also use esx_rpchat and civlife chat, adn my chat doesnt show up nor do admin commands, but everything else works fine