STANDALONE Universal Police & EMS Menu (ox_lib)

SaifNeon

SaifNeon

Administrative
Joined
Apr 25, 2022
Messages
705
Reaction score
572
Points
93
Credits
31,720
Universal Police & EMS Menu (ox_lib)
Hello, I wanted to provide a clearer description this time.

To start, simply download the resource, unzip it, and place it in the standalone folder or any preferred location.

The menu display is dependent on your assigned job role. For example, if you are assigned to the police job, you will see vehicles and items from the following configuration:

Config.GetVehicleList = function(job)
Config.GetShopItems = function(job)
if job == ‘police’ then

Similarly, for the ambulance job, you would see corresponding vehicles and items with the following configuration

elseif job == ‘ambulance’ then
Config.GetShopItems = function(job)

Access to these menus is restricted to specific locations, so you need to be within the radius of one of the zones defined in:

Config.SpawnLocations = {

To adjust the interaction distance for shops or vehicles, you can modify the following in client.lua

local function IsNearSpawnLocation()
if #(playerCoords - vector3(location.coords.x, location.coords.y, location.coords.z)) < 150.0 then

local function IsNearShopLocation()
if #(playerCoords - vector3(location.coords.x, location.coords.y, location.coords.z)) < 150.0 then

Common Interaction Menu for Emergency Services
There is also a common interaction menu available for emergency services roles, which includes various actions like cuffing, escorting, and reviving players.

Next update will include label ability for items, forgot about that.

Please, Log in or Register to view URLs content!
(5.5 KB)

Please, Log in or Register to view URLs content!


Please, Log in or Register to view URLs content!


Please, Log in or Register to view URLs content!
 
4,596Threads
10,700Messages
40,122Members
taotao1928Latest member
Top