Functions
client/custom/functions/alerts.lua
---Sends an alert to the police (usually used for dispatches)
---@param coords vector3|vector4
---@param data table
function SendAlertToPolice(coords, data)
endclient/custom/functions/open.lua
function CanOpenMenu()
local ped = PlayerPedId()
-- your custom functions to open menu (coma status/handcuff/is in any vehicle etc)
if IsPedInAnyVehicle(ped, true) then
return false
end
return true
endserver/custom/functions/open.lua
server/custom/functions/rewards.lua
Last updated
Was this helpful?