↩ī¸Events

Client

crates:onCrateOpened
Example
RegisterNetEvent('crates:onCrateOpened', function(crate, data)
    -- Here you can do something when a crate is opened
end)

Server

crates:onCrateSpawned
Example
RegisterNetEvent('crate:onCrateSpawned', function(crate)
    print(json.encode(crate))
end)
crates:onHackStart
Example
RegisterNetEvent('crate:onCrateSpawned', function(hackerId, crate)
    print(hackerId, json.encode(crate))
end)

Last updated