-Allows users to play a the police on your server
-Dressing Room/Armory/Helicopter/Vehicle blips at the police station
-Cuff/Uncuff
-Fine players
-Put in vehicle commands
-Check IDs of players
-Searching of players
-Vehicle information
-Spawn objects such as cones, barriers, spikestrips, etc.
-French and English translations available (configurable in the config.lua file)
Automated (no player/armory management)
a. Import esx_policejobminimal.sql into your MySQL database.
Player/Armory Management
b. Import esx_policejob_full.sql into your MYSQL database.
Add this to your server.cfg “start esx_policejob”
Optional Steps:
5. Set Config.EnablePlayerManagement to true in config.lua for player management and set Config.EnableArmoryManagement to true in config.lua for armory management.
[Additional Information]
For any and all support please visit the ESX Discord: https://discord.gg/3b3N8Ut as I do not provide support and have been away from quite some time.
Player will not have the ability to save/load.
Error running call reference function for resource es_extended: server/main.lua:216: attempt to index a nil value (global 'Async')
stack traceback:
server/main.lua:216: in local 'ref'
citizen:/scripting/lua/scheduler.lua:277: in function <citizen:/scripting/lua/scheduler.lua:268>
[C]: in function 'coroutine.resume'
citizen:/scripting/lua/scheduler.lua:33: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:123: in function <citizen:/scripting/lua/scheduler.lua:92>
Error running system event handling function for resource essentialmode: citizen:/scripting/lua/scheduler.lua:39: Failed to execute thread: citizen:/scripting/lua/MessagePack.lua:830: missing bytes
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/MessagePack.lua:830: in method 'underflow'
citizen:/scripting/lua/MessagePack.lua:465: in field 'any'
citizen:/scripting/lua/MessagePack.lua:860: in field 'unpack'
citizen:/scripting/lua/scheduler.lua:338: in local 'cb'
server/player/login.lua:84: in upvalue 'handler'
citizen:/scripting/lua/scheduler.lua:124: in function <citizen:/scripting/lua/scheduler.lua:123>
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/scheduler.lua:39: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:123: in function <citizen:/scripting/lua/scheduler.lua:92>
[C]: in function 'coroutine.resume'
citizen:/scripting/lua/scheduler.lua:33: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:123: in function <citizen:/scripting/lua/scheduler.lua:92>
Error running call reference function for resource es_extended: server/main.lua:216: attempt to index a nil value (global 'Async')
stack traceback:
server/main.lua:216: in local 'ref'
citizen:/scripting/lua/scheduler.lua:277: in function <citizen:/scripting/lua/scheduler.lua:268>
[C]: in function 'coroutine.resume'
citizen:/scripting/lua/scheduler.lua:33: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:123: in function <citizen:/scripting/lua/scheduler.lua:92>
Error running system event handling function for resource essentialmode: citizen:/scripting/lua/scheduler.lua:39: Failed to execute thread: citizen:/scripting/lua/MessagePack.lua:830: missing bytes
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/MessagePack.lua:830: in method 'underflow'
citizen:/scripting/lua/MessagePack.lua:465: in field 'any'
citizen:/scripting/lua/MessagePack.lua:860: in field 'unpack'
citizen:/scripting/lua/scheduler.lua:338: in local 'cb'
server/player/login.lua:84: in upvalue 'handler'
citizen:/scripting/lua/scheduler.lua:124: in function <citizen:/scripting/lua/scheduler.lua:123>
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/scheduler.lua:39: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:123: in function <citizen:/scripting/lua/scheduler.lua:92>
[C]: in function 'coroutine.resume'
citizen:/scripting/lua/scheduler.lua:33: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:123: in function <citizen:/scripting/lua/scheduler.lua:92>
hitch warning: frame time of 336 milliseconds
Error resuming coroutine: server/functions.lua:138: attempt to index a nil value (global 'Async')
stack traceback:
server/functions.lua:138: in field 'SavePlayers'
server/functions.lua:153: in function 'saveData'
Error running call reference function for resource es_extended: server/commands.lua:15: attempt to index a nil value (local 'xPlayer')
stack traceback:
server/commands.lua:15: in local 'ref'
citizen:/scripting/lua/scheduler.lua:277: in function <citizen:/scripting/lua/scheduler.lua:268>
Error running system event handling function for resource essentialmode: citizen:/scripting/lua/scheduler.lua:39: Failed to execute thread: citizen:/scripting/lua/MessagePack.lua:830: missing bytes
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/MessagePack.lua:830: in method 'underflow'
citizen:/scripting/lua/MessagePack.lua:465: in field 'any'
citizen:/scripting/lua/MessagePack.lua:860: in field 'unpack'
citizen:/scripting/lua/scheduler.lua:338: in field 'cmd'
server/main.lua:94: in upvalue 'handler'
citizen:/scripting/lua/scheduler.lua:124: in function <citizen:/scripting/lua/scheduler.lua:123>
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/scheduler.lua:39: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:123: in function <citizen:/scripting/lua/scheduler.lua:92>
TriggerServerCallback => [esx_billing:getBills] does not exists
TriggerServerCallback => [esx_billing:getBills] does not exists
Sending heartbeat to live-internal.fivem.net:30110
hitch warning: frame time of 71049 milliseconds
[C]: in function 'error'
citizen:/scripting/lua/scheduler.lua:39: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:123: in function <citizen:/scripting/lua/scheduler.lua:92>
[C]: in upvalue '_in'
citizen:/scripting/lua/natives_server.lua:243: in function 'TriggerEventInternal'
(...tail calls...)
server/player/login.lua:11: in local 'ref'
citizen:/scripting/lua/scheduler.lua:277: in function <citizen:/scripting/lua/scheduler.lua:268>
Error running system event handling function for resource vdk_inventory-master: citizen:/scripting/lua/scheduler.lua:39: Failed to execute thread: server.lua:18: attempt to index a nil value (global 'MySQL')
stack traceback:
server.lua:18: in upvalue 'handler'
citizen:/scripting/lua/scheduler.lua:124: in function <citizen:/scripting/lua/scheduler.lua:123>
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/scheduler.lua:39: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:123: in function <citizen:/scripting/lua/scheduler.lua:92>
Error resuming coroutine: server/functions.lua:138: attempt to index a nil value (global 'Async')
stack traceback:
server/functions.lua:138: in field 'SavePlayers'
server/functions.lua:153: in function 'saveData'
Error running call reference function for resource es_extended: server/commands.lua:15: attempt to index a nil value (local 'xPlayer')
stack traceback:
server/commands.lua:15: in local 'ref'
citizen:/scripting/lua/scheduler.lua:277: in function <citizen:/scripting/lua/scheduler.lua:268>
Error running system event handling function for resource essentialmode: citizen:/scripting/lua/scheduler.lua:39: Failed to execute thread: citizen:/scripting/lua/MessagePack.lua:830: missing bytes
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/MessagePack.lua:830: in method 'underflow'
citizen:/scripting/lua/MessagePack.lua:465: in field 'any'
citizen:/scripting/lua/MessagePack.lua:860: in field 'unpack'
citizen:/scripting/lua/scheduler.lua:338: in field 'cmd'
server/main.lua:94: in upvalue 'handler'
citizen:/scripting/lua/scheduler.lua:124: in function <citizen:/scripting/lua/scheduler.lua:123>
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/scheduler.lua:39: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:123: in function <citizen:/scripting/lua/scheduler.lua:92>
[vRP] 127.0.0.1 disconnected (user_id = 1)
Sending heartbeat to live-internal.fivem.net:30110
can you add other uniform for recrute commander sergent, so other players can see your grade. also if you are recrute you only may have tazer and mini gun and only one car for example. would be great if you implement this
As I said above, if you want additional/custom skins, you need to look up how to stream models/vehicles and edit coding within the job itself (I believe the skin was placed under the config.lua file). The plugins ESX release are foundation plugins and are the basics in which you need to get everything online and functional. It is on you the developers/admins of servers to edit particular settings to your liking. We cannot edit the github repository for individual user needs as it’ll be way too much work and in the long run, for some users, it’ll push updates unintentionally to their servers.