Skip to content

Client Events

Triggered when a new airdrop is created.

RegisterNetEvent('senor-airdrops:client:NewDrop', function(data)
-- data contains the new drop information
end)

Event Data:

  • data (table) - New airdrop data table

Example:

RegisterNetEvent('senor-airdrops:client:NewDrop', function(data)
print("New airdrop created: " .. data.id)
end)

Triggered when an airdrop is removed.

RegisterNetEvent('senor-airdrops:client:RemovedDrop', function(dropId)
-- dropId is the ID of the removed drop
end)

Event Parameters:

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

Example:

RegisterNetEvent('senor-airdrops:client:RemovedDrop', function(dropId)
print("Airdrop removed: " .. dropId)
end)

Trigger this event to open the airdrops panel for a player.

TriggerEvent('senor-airdrops:client:OpenMenu')

Example:

-- Open airdrops menu from another resource
TriggerEvent('senor-airdrops:client:OpenMenu')