[Dev Release] - esx_jobnumbers

can you give a example for that event ?

Which event are you looking for?

how to check police online with that event ?

if CopsOnline then

… can you give me example how to do it ?

client side or server side?

both please

it doesn’t work server sided? works client sided but server sided for me just doesn’t work…

I have just updated the Github with a new version of this code that uses GlobalState to pass the information from server/client. So the same line of code will work on the server as it does on the client. As soon as the server is updated every client should have the correct numbers.

Hopefully this helps you @HideoutRP … if it doesn’t and you still have issues you can dm me to see if i can help you get it sorted.

SpikE

for me, when printing GlobalState.jobnumbers['ambulance'] it prints “nil”. How can I fix it or what am i doing wrong?