Go back and try again then. Because what you sent here is pretty far away from working, otherwise you got a lot of other menus in the poliejob script you can use as templates!
Yea seems like this update had quite a lot of issues we need to fix.
check your " " and your â â some times copy paste is buggy
Well now I cant get cars out of garage. that I bought ans the es_extended livery update donât work, Nice working with you Loffe I greatly appreciate it, hope to help each other in the future
Ok I will work on it
Thanks I will play around with it
Spacing is critical also compare the greyed out lines in spacing like I.E
If menu.two
end)
end, will not work all aligned to the left
âjail_menuâ, { title = _U(âjail_menu_infoâ),
},
function (data2, menu)
(data2, menu)
local jailTime = tonumber(data2.value)
if jailTime == nil then
ESX.ShowNotification(âinvalid number!â)
else TriggerServerEvent(âesx_jail:sendToJailâ, player, jailTime * 60)
Rough example compare it to the similar resources above of below like the billing one
Yeah deffenitly, see you around!
What garage script is this job based of?
none, you do need esx_vehicleshop though
How can I desactivate this?
Service improvements
Not being in service means that you can no longer open the F6 menu, or open the armory. You will no longer be able to take out vehicles or receive dispatch calls. Make sure you update esx_service and esx_phone. To enter service simply get changed in the cloakroom.
Going in & out service now sends an annoucement to everyone else in service (only if esx_service is enabled)
I have customs peds (/eup)
everytime i start my server i need to restart the script altleast once (often more ) to be able to open the menus, anyone with the same problem?
Yes I do also it even does it with the non edited version I have decided to stay with the older verion of esx_policejob I guess until it quit I guessâŚbut I will continue to mess with the latest in a test server if I find any fixes to get what weâre looking for Iâll update here
Still canât get any cars to spawn out of the garage once you buy one either and still have NULL names
Hello i got a problem when i go into the car logo or gun logo i cant open the menu like its triggering nofthing. Can somebody please help
I had the â1.0.1â version updated to the last one and I can not use the menus, I do not press âeâ to access the menu
[ 2701062] Error running call reference function for resource esx_policejob: citizen:/scripting/lua/scheduler.lua:403: client/main.lua:499: attempt to index a nil value (field â?â)
[ 2701062] stack traceback:
[ 2701062] client/main.lua:499: in function âGetAvailableVehicleSpawnPointâ
[ 2701062] client/main.lua:402: in upvalue ârefâ
[ 2701078] citizen:/scripting/lua/scheduler.lua:389: in function citizen:/scripting/lua/scheduler.lua:388
[ 2701078] [C]: in function âxpcallâ
[ 2701078] citizen:/scripting/lua/scheduler.lua:388: in function citizen:/scripting/lua/scheduler.lua:387
[ 2701078] stack traceback:
[ 2701093] [C]: in function âerrorâ
[ 2701093] citizen:/scripting/lua/scheduler.lua:403: in function citizen:/scripting/lua/scheduler.lua:372
[ 2701093] Error running call reference function for resource es_extended: citizen:/scripting/lua/scheduler.lua:403: citizen:/scripting/lua/MessagePack.lua:830: missing bytes
[ 2701093] stack traceback:
[ 2701109] [C]: in function âerrorâ
[ 2701109] citizen:/scripting/lua/MessagePack.lua:830: in method âunderflowâ
[ 2701109] citizen:/scripting/lua/MessagePack.lua:465: in field âanyâ
[ 2701109] citizen:/scripting/lua/MessagePack.lua:860: in field âunpackâ
[ 2701125] citizen:/scripting/lua/scheduler.lua:626: in function citizen:/scripting/lua/scheduler.lua:617
[ 2701125] (âŚtail callsâŚ)
[ 2701125] citizen:/scripting/lua/scheduler.lua:389: in function citizen:/scripting/lua/scheduler.lua:388
[ 2701125] [C]: in function âxpcallâ
[ 2701140] citizen:/scripting/lua/scheduler.lua:388: in function citizen:/scripting/lua/scheduler.lua:387
[ 2701140] stack traceback:
[ 2701140] [C]: in function âerrorâ
[ 2701156] citizen:/scripting/lua/scheduler.lua:403: in function citizen:/scripting/lua/scheduler.lua:372
How do I buy cars I set price to zero and still canât get it it says not enough money but I have 2 mill in bank and hand so Iâm confused
It cant be 0 you have to have a price they are not free in that version,
also check this
fixed by adding a , on line 46 after â0â,
CREATE TABLE owned_vehicles
(
owner
varchar(22) NOT NULL,
plate
varchar(12) NOT NULL,
vehicle
longtext,
type
VARCHAR(20) NOT NULL DEFAULT âcarâ,
job
VARCHAR(20) NOT NULL,
stored
TINYINT(1) NOT NULL DEFAULT â0â, <--------HERE
PRIMARY KEY (`plate`)
);
Got everything working perfectly but for some reason Open Garage does not work meaning Officers can buy cars but not take any out