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:onItemBought

Triggered after a player buys an item from the fishing shop.

RegisterNetEvent('fishing:onItemBought', function(playerId, itemData, amount, price) end)
playerId
number

Source of the player that bought the item.

itemData
table

The item data from config including item, label, price, requiredLevel, and mystery.

amount
number

The amount of items bought.

price
number

The price per item.

fishing:onItemSold

Triggered after a player sells an item at the fishing shop.

RegisterNetEvent('fishing:onItemSold', function(playerId, itemData, amount, totalPrice) end)
playerId
number

Source of the player that sold the item.

itemData
table

The item data from config including item, label, price, requiredLevel, and mystery.

amount
number

The amount of items sold.

totalPrice
number

The total price received (price * amount).

fishing:onMissionClaimed

Triggered after a player claims mission rewards.

RegisterNetEvent('fishing:onMissionClaimed', function(playerId, missionKey, rewards) end)
playerId
number

Source of the player that claimed the mission.

missionKey
string

The mission key/identifier.

rewards
table

The rewards given including xp, money, moneyType, and items array.

fishing:onBoatRented

Triggered after a player rents a boat.

RegisterNetEvent('fishing:onBoatRented', function(playerId, rentalName, boatData) end)
playerId
number

Source of the player that rented the boat.

rentalName
string

The name of the boat rental location.

boatData
table

The boat data from config including model, label, rentInterval, intervalPrice, deposit, requiredLevel, and mystery.

fishing:onBoatReturned

Triggered after a player returns a rented boat.

RegisterNetEvent('fishing:onBoatReturned', function(playerId, rentalName, boatData) end)
playerId
number

Source of the player that returned the boat.

rentalName
string

The name of the boat rental location.

boatData
table

The boat data from config including model, label, rentInterval, intervalPrice, deposit, requiredLevel, and mystery.

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.