RX Scripts Logo
Crates & Storages

Events

All client- & serversided events included within this script. Events serve as listeners that capture and respond to actions executed by this script.
If additional events are required for your implementation, please submit a formal request through our ticketing system on the official Discord server.

Server Events

crate:onCrateSpawned

this event is triggert when a crate is spawned.

RegisterNetEvent('crate:onCrateSpawned', function(crate) end)
crate
number required

Name identifier of the garage.

crate:onCrateSpawned

this event is triggert when a crate is spawned.

RegisterNetEvent('crate:onCrateSpawned', function(hackerId, crate) end)
hackerId
number required

Name identifier of the garage.

crate
number required

Name identifier of the garage.

Client Events

crate:onCrateSpawned

this event is triggert when a person opens a crate.

RegisterNetEvent('crates:onCrateOpened', function(crate, data) end)
crate
number required

Name identifier of the garage.

data
number required

Name identifier of the garage.