RX Scripts Logo
Fishing

Events

All client- & serversided events included within this script. Events serve as listeners that capture and respond to actions executed by this script.
If additional events are required for your implementation, please submit a formal request through our ticketing system on the official Discord server.

Server Events

fishing:onLicenseBought

Triggered after a fishing license has been bought successfully.

RegisterNetEvent('fishing:onLicenseBought', function(playerId) end)
playerId
number

Source of the player that bought the fishing license.

fishing:onFishingStart

Triggered after a player starts fishing.

RegisterNetEvent('fishing:onFishingStart', function(playerId, rodName, fisher) end)
playerId
number

Source of the player that started fishing.

rodName
string

Name of the rod that has been used.

fisher
table

Data of the fisher that started fishing.

fishing:onFishCaught

Triggered after a fish has been caught.

RegisterNetEvent('fishing:onFishCaught', function(playerId, fishName, fisher) end)
playerId
number

Source of the player that caught the fish.

fishName
table

The name of the caught fish.

fisher
table

Data of the fisher that caught the fish.

fishing:onNetThrown

Triggered after a net has been thrown.

RegisterNetEvent('fishing:onNetThrown', function(playerId, netData, fisher) end)
playerId
number

Source of the player that threw the fishing net.

netData
table

Data of the thrown fishing net.

fisher
table

Data of the fisher that caught the fish.

fishing:onNetReturned

Triggered after a net has been returned.

RegisterNetEvent('fishing:onNetReturned', function(playerId, netData, fisher) end)
playerId
number

Source of the player that returned the fishing net.

netData
table

Data of the returned fishing net.

fisher
table

Data of the fisher that caught the fish.

Client Events

No client-sided events available at this time.