Server Events
⚠️
These events MUST NOT be triggered by any other scripts.
Non-Networked Events
qbx_diving:server:coralTaken
Triggered when a player has collected coral from the sea bed.
AddEventHandler('qbx_diving:server:coralTaken', function(coords) end)
- coords:
vector3
Networked Events
qbx_diving:server:sellCoral
Triggered when a player attempts to sell coral.
Does not guarantee that the player has any coral in their inventory.
RegisterNetEvent('qbx_diving:server:sellCoral', function() end)