cc_fishing exposes read-only server exports for pulling a player’s fishing state into your own resources — a HUD, a levels bridge, a Discord bot, whatever. They never change anything.
Every export takes the player’s server id and returns nil when that player has no loaded fishing profile (offline, or not yet loaded). Levels are 0-based, matching the number shown in the in-game menu.
Reference
GetPlayerProgress
One call for everything the others return, so a HUD doesn’t have to make five round-trips.GetPlayerZone
Returns the fishing zone the player’s ped is currently inside, matched against the polygons inshared/zones.lua. nil when they’re not in any zone.
index is the 1-based position in zones.fishing; name is that zone’s name field.
These exports live in
server/custom.lua, which is escrow-ignored — you can add your own exports alongside them there.