Events

Server Events

rm_chopshop:server:createJob

---@class StartOptions
---@field ignorePoliceCount? boolean   -- should the number of police officers be ignored?
---@field ignorePlayerCooldown? boolean  -- should the player cooldown be ignored?
---@field ignoreGlobalCooldown? boolean  -- should the global cooldown be ignored?

---@param _source? targetPlayerServerId
---@param options? StartOptions
RegisterNetEvent('rm_chopshop:server:createJob', function(_source, options) end)
Key
Type
Description

ignorePoliceCount?

boolean

Should the number of police officers be ignored?

ignorePlayerCooldown?

boolean

Should the player cooldown be ignored?

ignoreGlobalCooldown?

boolean

Should the global cooldown be ignored?

rm_chopshop:server:cancelJob

---@param _source? targetPlayerServerId
RegisterNetEvent('rm_chopshop:server:cancelJob', function(_source) end)
## Notes:
- If triggered from the client, _source is not required; if triggered from the server, it must be provided. 
- To disable the event, set cfg.disableServerEvent = true.

Last updated