• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Monster Fishing Catches

Samaster

Raptorserver.ddns.net
Joined
Jun 9, 2013
Messages
291
Reaction score
23
Location
UK
i need someone with a lot of scripting experience to post a script where when you say '!fishing' and text dialog comes up with the list of fishing monsters and the count of each one caught by the player.

or could someone help me correct mine, my current script is below and the text dialog comes up, however no text is present :/

i am using 1.0

Code:
function onSay(cid, words, param, channel)
if (isPlayer(param)) then
local monsters =
{"angry water elemental",
"ophion slave",
"hydraphon",
"hydrilica",
"blood crab",
"mature blood crab",
"giant squid",
"ophion",
"megladon",
"immature sharkeater",
"the lurker",
"aquafilus",
"sharkeater"}
local monster1 = getPlayerStorageValue(cid, monsters[1])
local monster2 = getPlayerStorageValue(cid, monsters[2])
local monster3 = getPlayerStorageValue(cid, monsters[3])
local monster4 = getPlayerStorageValue(cid, monsters[4])
local monster5 = getPlayerStorageValue(cid, monsters[5])
local monster6 = getPlayerStorageValue(cid, monsters[6])
local monster7 = getPlayerStorageValue(cid, monsters[7])
local monster8 = getPlayerStorageValue(cid, monsters[8])
local monster9 = getPlayerStorageValue(cid, monsters[9])
local monster10 = getPlayerStorageValue(cid, monsters[10])
local monster11 = getPlayerStorageValue(cid, monsters[11])
local monster12 = getPlayerStorageValue(cid, monsters[12])
local monster13 = getPlayerStorageValue(cid, monsters[13])
doShowTextDialog(cid, 1950, text)
local text = "[FISHING]: /n Angry Water Elemental: " .. monster1 .. "/n Ophion Slave: " .. monster2 .. "/n Hydraphon: " .. monster3 .."/n Hydrilica: " .. monster4 .."/n Blood Crab: " .. monster5 .."/n Mature Blood Crab: " .. monster6 .."/n Giant Squid: " .. monster7 .."/n Ophion: " .. monster8 .."/n Megladon: " .. monster9 .."/n Immature Sharkeater: " .. monster10 .."/n The Lurker: " .. monster11 .."/n Aquafilus: " .. monster12 .."/n Sharkeater: " .. monster13 ..""
else
doShowTextDialog(cid, 1950, text)
end
end
 
Back
Top