HEX
HexscriptsClassicLootdrop

Events

This section lists all client-side and server-side events in this script. Events allow you to add custom listeners that capture and respond to actions triggered by this script.

Note

If you need additional events for your implementation, please open a ticket on our Discord server.

Client Events

hex_lootdrop:client:setDimension

Triggered every time the dimension of the player changes. If dimension is 0, the player left the lootdrop and is back in the normal world. If dimension is anything other than 0, the player is inside a lootdrop.

RegisterNetEvent('hex_lootdrop:client:setDimension', function(dimension)
    if dimension == 0 then
        -- player left the lootdrop
    else
        -- player is inside a lootdrop
    end
end)

Prop

Type

Server Events

No server events are available at the moment.