Skip to content

Server Events

Triggered when a player opens/interacts with an airdrop.

RegisterNetEvent('senor-airdrops:server:Opendrop', function(dropId)
-- dropId is the ID of the drop being opened
end)

Event Parameters:

  • dropId (number | string) - The ID of the airdrop being opened

Example:

RegisterNetEvent('senor-airdrops:server:Opendrop', function(dropId)
local source = source
print("Player " .. source .. " opened airdrop: " .. dropId)
end)