Hello Need Help With Fishing System!
#1

Hello, i want to ask that? how can i make Fishes Names and How can i save THem Into Fish Inventory WIth Textdraw Box
Random Fishes, i've made fishing system but i can't make Fish names!
Reply
#2

Quote:

new FishNamesNumber = 22;
new FishNames[22][20] = {
{"Jacket"},
{"Amberjack"},
{"Grouper"},
{"Red Snapper"},
{"Pants"},
{"Trout"},
{"Blue Marlin"},
{"Can"},
{"Mackeral"},
{"Sea Bass"},
{"Shoes"},
{"Pike"},
{"Sail Fish"},
{"Garbage"},
{"Tuna"},
{"Eel"},
{"Dolphin"},
{"Shark"},
{"Turtle"},
{"Catfish"},
{"Money Bag"},
{"Swordfish"}
};

Every RP server have this.
Use search before posting...
Reply
#3

how can i make fishes random and how can i set fishes in inventory?
how can i set fish size? how can i set fish price according to different fish size!
Reply
#4

Quote:
Originally Posted by danish007
Посмотреть сообщение
how can i make fishes random and how can i set fishes in inventory?
how can i set fish size? how can i set fish price according to different fish size!
Are you kidding me dude ? I tough you made fish system but it looks you didn't do a thing.
try to search or learn, Don't wait for copy and past...
Reply
#5

i've made this mate!
how can i add fish names in this?
i'm not waiting for copy/paste!


PHP код:
dcmd_fish(playerid,params[])
{
    
#pragma unused params
    
new modelidvid;
    
vid GetPlayerVehicleID(playerid);
    
modelid GetVehicleModel(vid);
    if(
Fishing[playerid] == 1) return SendClientMessage(playerid,COLOR_ERROR,"Please Wait Before Fishing Again.");
    if(
PlayerInfo[playerid][pFishes] == 15)return SendClientMessage(playerid,COLOR_ERROR,"You Cannot Carry Any More Fishes.");
    if (
IsSeaVehicle(modelid))
    {
    
Fishing_Timer1[playerid] = SetTimerEx("Fish_Timer"50000"d"playerid);
    
GameTextForPlayer(playerid,"~y~Fishing! ~w~Please Wait...",5000,3);
    
Fishing[playerid]=1;
    }
    else
    {
    
SendClientMessage(playerid,COLOR_ERROR,"You Can Only Fish in Sea Vehicles.");
    }
    return 
1;
}
forward Fish_Timer(playerid);
public 
Fish_Timer(playerid)
{
        new 
string[1280];
        new 
Weight random(200 121) + 111;
        switch(
random(25))
        {
        case 
0:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid] += Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Blue Marlin %d lb",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Blue Marlin.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
1:
        {
        
Fishing[playerid]=0;
        
format(stringsizeof(string), "~w~Found ~g~50000");
        
GameTextForPlayer(playerid,string50003);
        
SendClientMessage(playerid,COLOR_CYAN,"Found Money! - $50000");
        
GivePlayerMoney(playerid,50000);
        }
        case 
2:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid] += Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Shark %d lb",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        }
        case 
3:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid]=Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Swordfish %d lb",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Swordfish.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
4:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid]=Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Pirhana %d lb",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Pirhana.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
5:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid]=Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Sea Bass %d lb",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Sea Bass.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
6:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid]=Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Carp %d lb",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Carp.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
7:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid]=Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Baby Seal %d lb",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Baby Seal.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
8:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid]=Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Pike %d lbs",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Pike.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
9:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid]=Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Dolphin %d lbs",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Dolphin.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
10:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid]=Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Sole %d lbs",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Sole.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
11:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid]=Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Squid %d lbs",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Squid.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
12:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid]=Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Red Snapper %d lbs",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Red Snapper.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
13:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid]=Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Herring %d lbs",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Herring.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
14:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid]=Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Blue Whale %d lbs",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Blue Whale.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
15161718:
        {
        
Fishing[playerid]=0;
        
format(stringsizeof(string), "~w~Your Catch:~r~ None");
        
GameTextForPlayer(playerid,string50003);
        
SendClientMessage(playerid,COLOR_CYAN,"Failed To Catch Anything.");
        
format(stringsizeof(string), "You Have Caught None.");
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
1920:
        {
        
Fishing[playerid]=0;
        
format(stringsizeof(string), "~W~Found ~p~NEMO");
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "Found Nemo And Got $25000.");
        
SendClientMessage(playeridCOLOR_CYANstring);
        
GivePlayerMoney(playerid,25000);
        }
        case 
2122:
        {
        
Fishing[playerid]=0;
        
format(stringsizeof(string), "~W~Found ~r~Jimmy Hoffa");
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "Found a Dead Body Throw it Back And Keep Your Mouth Shut!");
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
23:
        {
        
Fishing[playerid]=0;
        
format(stringsizeof(string), "~W~Found ~r~Used Condom");
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "Found Used Condom. Served With Fried Rice!");
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
24:
        {
        
Fishing[playerid]=0;
        
format(stringsizeof(string), "~W~Found ~p~Underwear");
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "Found Underwear! You Threw it Back! Size Mismatch!");
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        }
        return 
1;

Reply
#6

Quote:
Originally Posted by danish007
Посмотреть сообщение
i've made this mate!
how can i add fish names in this?
i'm not waiting for copy/paste!


PHP код:
dcmd_fish(playerid,params[])
{
    
#pragma unused params
    
new modelidvid;
    
vid GetPlayerVehicleID(playerid);
    
modelid GetVehicleModel(vid);
    if(
Fishing[playerid] == 1) return SendClientMessage(playerid,COLOR_ERROR,"Please Wait Before Fishing Again.");
    if(
PlayerInfo[playerid][pFishes] == 15)return SendClientMessage(playerid,COLOR_ERROR,"You Cannot Carry Any More Fishes.");
    if (
IsSeaVehicle(modelid))
    {
    
Fishing_Timer1[playerid] = SetTimerEx("Fish_Timer"50000"d"playerid);
    
GameTextForPlayer(playerid,"~y~Fishing! ~w~Please Wait...",5000,3);
    
Fishing[playerid]=1;
    }
    else
    {
    
SendClientMessage(playerid,COLOR_ERROR,"You Can Only Fish in Sea Vehicles.");
    }
    return 
1;
}
forward Fish_Timer(playerid);
public 
Fish_Timer(playerid)
{
        new 
string[1280];
        new 
Weight random(200 121) + 111;
        switch(
random(25))
        {
        case 
0:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid] += Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Blue Marlin %d lb",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Blue Marlin.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
1:
        {
        
Fishing[playerid]=0;
        
format(stringsizeof(string), "~w~Found ~g~50000");
        
GameTextForPlayer(playerid,string50003);
        
SendClientMessage(playerid,COLOR_CYAN,"Found Money! - $50000");
        
GivePlayerMoney(playerid,50000);
        }
        case 
2:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid] += Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Shark %d lb",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        }
        case 
3:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid]=Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Swordfish %d lb",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Swordfish.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
4:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid]=Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Pirhana %d lb",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Pirhana.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
5:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid]=Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Sea Bass %d lb",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Sea Bass.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
6:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid]=Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Carp %d lb",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Carp.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
7:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid]=Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Baby Seal %d lb",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Baby Seal.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
8:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid]=Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Pike %d lbs",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Pike.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
9:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid]=Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Dolphin %d lbs",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Dolphin.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
10:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid]=Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Sole %d lbs",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Sole.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
11:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid]=Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Squid %d lbs",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Squid.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
12:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid]=Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Red Snapper %d lbs",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Red Snapper.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
13:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid]=Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Herring %d lbs",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Herring.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
14:
        {
        
PlayerInfo[playerid][pFishes]+=1;
        
Fishing[playerid]=0;
        
FishWeight[playerid]=Weight;
        
format(stringsizeof(string), "~w~Your Catch: ~p~Blue Whale %d lbs",FishWeight[playerid]);
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "You Have Caught %d lb Blue Whale.",FishWeight[playerid]);
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
15161718:
        {
        
Fishing[playerid]=0;
        
format(stringsizeof(string), "~w~Your Catch:~r~ None");
        
GameTextForPlayer(playerid,string50003);
        
SendClientMessage(playerid,COLOR_CYAN,"Failed To Catch Anything.");
        
format(stringsizeof(string), "You Have Caught None.");
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
1920:
        {
        
Fishing[playerid]=0;
        
format(stringsizeof(string), "~W~Found ~p~NEMO");
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "Found Nemo And Got $25000.");
        
SendClientMessage(playeridCOLOR_CYANstring);
        
GivePlayerMoney(playerid,25000);
        }
        case 
2122:
        {
        
Fishing[playerid]=0;
        
format(stringsizeof(string), "~W~Found ~r~Jimmy Hoffa");
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "Found a Dead Body Throw it Back And Keep Your Mouth Shut!");
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
23:
        {
        
Fishing[playerid]=0;
        
format(stringsizeof(string), "~W~Found ~r~Used Condom");
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "Found Used Condom. Served With Fried Rice!");
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        case 
24:
        {
        
Fishing[playerid]=0;
        
format(stringsizeof(string), "~W~Found ~p~Underwear");
        
GameTextForPlayer(playerid,string50003);
        
format(stringsizeof(string), "Found Underwear! You Threw it Back! Size Mismatch!");
        
SendClientMessage(playeridCOLOR_CYANstring);
        }
        }
        return 
1;

You just did copy and past on this, You know why ? Because they are already names in this pfff.
Reply
#7

i knw there is names!
but the names is not random.
i want the names of fishes and save them into fish inventory!
-.-
Reply
#8

can u tell me how can i work this:
PHP код:
new FishNamesNumber 22;
new 
FishNames[22][20] = {
{
"Jacket"},
{
"Amberjack"},
{
"Grouper"},
{
"Red Snapper"},
{
"Pants"},
{
"Trout"},
{
"Blue Marlin"},
{
"Can"},
{
"Mackeral"},
{
"Sea Bass"},
{
"Shoes"},
{
"Pike"},
{
"Sail Fish"},
{
"Garbage"},
{
"Tuna"},
{
"Eel"},
{
"Dolphin"},
{
"Shark"},
{
"Turtle"},
{
"Catfish"},
{
"Money Bag"},
{
"Swordfish"}
}; 
with this:
PHP код:
dcmd_fish(playerid,params[]) 

    
#pragma unused params 
    
new modelidvid
    
vid GetPlayerVehicleID(playerid); 
    
modelid GetVehicleModel(vid); 
    if(
Fishing[playerid] == 1) return SendClientMessage(playerid,COLOR_ERROR,"Please Wait Before Fishing Again."); 
    if(
PlayerInfo[playerid][pFishes] == 15)return SendClientMessage(playerid,COLOR_ERROR,"You Cannot Carry Any More Fishes."); 
    if (
IsSeaVehicle(modelid)) 
    { 
    
Fishing_Timer1[playerid] = SetTimerEx("Fish_Timer"50000"d"playerid); 
    
GameTextForPlayer(playerid,"~y~Fishing! ~w~Please Wait...",5000,3); 
    
Fishing[playerid]=1
    } 
    else 
    { 
    
SendClientMessage(playerid,COLOR_ERROR,"You Can Only Fish in Sea Vehicles."); 
    } 
    return 
1

forward Fish_Timer(playerid); 
public 
Fish_Timer(playerid

        new 
string[1280]; 
        new 
Weight random(200 121) + 111
        switch(
random(25)) 
        { 
        case 
0
        { 
        
PlayerInfo[playerid][pFishes]+=1
        
Fishing[playerid]=0
        
FishWeight[playerid] += Weight
        
format(stringsizeof(string), "~w~Your Catch: ~p~Blue Marlin %d lb",FishWeight[playerid]); 
        
GameTextForPlayer(playerid,string50003); 
        
format(stringsizeof(string), "You Have Caught %d lb Blue Marlin.",FishWeight[playerid]); 
        
SendClientMessage(playeridCOLOR_CYANstring); 
        } 
        case 
1
        { 
        
Fishing[playerid]=0
        
format(stringsizeof(string), "~w~Found ~g~50000"); 
        
GameTextForPlayer(playerid,string50003); 
        
SendClientMessage(playerid,COLOR_CYAN,"Found Money! - $50000"); 
        
GivePlayerMoney(playerid,50000); 
        } 
        case 
2
        { 
        
PlayerInfo[playerid][pFishes]+=1
        
Fishing[playerid]=0
        
FishWeight[playerid] += Weight
        
format(stringsizeof(string), "~w~Your Catch: ~p~Shark %d lb",FishWeight[playerid]); 
        
GameTextForPlayer(playerid,string50003); 
        } 
        case 
3
        { 
        
PlayerInfo[playerid][pFishes]+=1
        
Fishing[playerid]=0
        
FishWeight[playerid]=Weight
        
format(stringsizeof(string), "~w~Your Catch: ~p~Swordfish %d lb",FishWeight[playerid]); 
        
GameTextForPlayer(playerid,string50003); 
        
format(stringsizeof(string), "You Have Caught %d lb Swordfish.",FishWeight[playerid]); 
        
SendClientMessage(playeridCOLOR_CYANstring); 
        } 
        case 
4
        { 
        
PlayerInfo[playerid][pFishes]+=1
        
Fishing[playerid]=0
        
FishWeight[playerid]=Weight
        
format(stringsizeof(string), "~w~Your Catch: ~p~Pirhana %d lb",FishWeight[playerid]); 
        
GameTextForPlayer(playerid,string50003); 
        
format(stringsizeof(string), "You Have Caught %d lb Pirhana.",FishWeight[playerid]); 
        
SendClientMessage(playeridCOLOR_CYANstring); 
        } 
        case 
5
        { 
        
PlayerInfo[playerid][pFishes]+=1
        
Fishing[playerid]=0
        
FishWeight[playerid]=Weight
        
format(stringsizeof(string), "~w~Your Catch: ~p~Sea Bass %d lb",FishWeight[playerid]); 
        
GameTextForPlayer(playerid,string50003); 
        
format(stringsizeof(string), "You Have Caught %d lb Sea Bass.",FishWeight[playerid]); 
        
SendClientMessage(playeridCOLOR_CYANstring); 
        } 
        case 
6
        { 
        
PlayerInfo[playerid][pFishes]+=1
        
Fishing[playerid]=0
        
FishWeight[playerid]=Weight
        
format(stringsizeof(string), "~w~Your Catch: ~p~Carp %d lb",FishWeight[playerid]); 
        
GameTextForPlayer(playerid,string50003); 
        
format(stringsizeof(string), "You Have Caught %d lb Carp.",FishWeight[playerid]); 
        
SendClientMessage(playeridCOLOR_CYANstring); 
        } 
        case 
7
        { 
        
PlayerInfo[playerid][pFishes]+=1
        
Fishing[playerid]=0
        
FishWeight[playerid]=Weight
        
format(stringsizeof(string), "~w~Your Catch: ~p~Baby Seal %d lb",FishWeight[playerid]); 
        
GameTextForPlayer(playerid,string50003); 
        
format(stringsizeof(string), "You Have Caught %d lb Baby Seal.",FishWeight[playerid]); 
        
SendClientMessage(playeridCOLOR_CYANstring); 
        } 
        case 
8
        { 
        
PlayerInfo[playerid][pFishes]+=1
        
Fishing[playerid]=0
        
FishWeight[playerid]=Weight
        
format(stringsizeof(string), "~w~Your Catch: ~p~Pike %d lbs",FishWeight[playerid]); 
        
GameTextForPlayer(playerid,string50003); 
        
format(stringsizeof(string), "You Have Caught %d lb Pike.",FishWeight[playerid]); 
        
SendClientMessage(playeridCOLOR_CYANstring); 
        } 
        case 
9
        { 
        
PlayerInfo[playerid][pFishes]+=1
        
Fishing[playerid]=0
        
FishWeight[playerid]=Weight
        
format(stringsizeof(string), "~w~Your Catch: ~p~Dolphin %d lbs",FishWeight[playerid]); 
        
GameTextForPlayer(playerid,string50003); 
        
format(stringsizeof(string), "You Have Caught %d lb Dolphin.",FishWeight[playerid]); 
        
SendClientMessage(playeridCOLOR_CYANstring); 
        } 
        case 
10
        { 
        
PlayerInfo[playerid][pFishes]+=1
        
Fishing[playerid]=0
        
FishWeight[playerid]=Weight
        
format(stringsizeof(string), "~w~Your Catch: ~p~Sole %d lbs",FishWeight[playerid]); 
        
GameTextForPlayer(playerid,string50003); 
        
format(stringsizeof(string), "You Have Caught %d lb Sole.",FishWeight[playerid]); 
        
SendClientMessage(playeridCOLOR_CYANstring); 
        } 
        case 
11
        { 
        
PlayerInfo[playerid][pFishes]+=1
        
Fishing[playerid]=0
        
FishWeight[playerid]=Weight
        
format(stringsizeof(string), "~w~Your Catch: ~p~Squid %d lbs",FishWeight[playerid]); 
        
GameTextForPlayer(playerid,string50003); 
        
format(stringsizeof(string), "You Have Caught %d lb Squid.",FishWeight[playerid]); 
        
SendClientMessage(playeridCOLOR_CYANstring); 
        } 
        case 
12
        { 
        
PlayerInfo[playerid][pFishes]+=1
        
Fishing[playerid]=0
        
FishWeight[playerid]=Weight
        
format(stringsizeof(string), "~w~Your Catch: ~p~Red Snapper %d lbs",FishWeight[playerid]); 
        
GameTextForPlayer(playerid,string50003); 
        
format(stringsizeof(string), "You Have Caught %d lb Red Snapper.",FishWeight[playerid]); 
        
SendClientMessage(playeridCOLOR_CYANstring); 
        } 
        case 
13
        { 
        
PlayerInfo[playerid][pFishes]+=1
        
Fishing[playerid]=0
        
FishWeight[playerid]=Weight
        
format(stringsizeof(string), "~w~Your Catch: ~p~Herring %d lbs",FishWeight[playerid]); 
        
GameTextForPlayer(playerid,string50003); 
        
format(stringsizeof(string), "You Have Caught %d lb Herring.",FishWeight[playerid]); 
        
SendClientMessage(playeridCOLOR_CYANstring); 
        } 
        case 
14
        { 
        
PlayerInfo[playerid][pFishes]+=1
        
Fishing[playerid]=0
        
FishWeight[playerid]=Weight
        
format(stringsizeof(string), "~w~Your Catch: ~p~Blue Whale %d lbs",FishWeight[playerid]); 
        
GameTextForPlayer(playerid,string50003); 
        
format(stringsizeof(string), "You Have Caught %d lb Blue Whale.",FishWeight[playerid]); 
        
SendClientMessage(playeridCOLOR_CYANstring); 
        } 
        case 
15161718
        { 
        
Fishing[playerid]=0
        
format(stringsizeof(string), "~w~Your Catch:~r~ None"); 
        
GameTextForPlayer(playerid,string50003); 
        
SendClientMessage(playerid,COLOR_CYAN,"Failed To Catch Anything."); 
        
format(stringsizeof(string), "You Have Caught None."); 
        
SendClientMessage(playeridCOLOR_CYANstring); 
        } 
        case 
1920
        { 
        
Fishing[playerid]=0
        
format(stringsizeof(string), "~W~Found ~p~NEMO"); 
        
GameTextForPlayer(playerid,string50003); 
        
format(stringsizeof(string), "Found Nemo And Got $25000."); 
        
SendClientMessage(playeridCOLOR_CYANstring); 
        
GivePlayerMoney(playerid,25000); 
        } 
        case 
2122
        { 
        
Fishing[playerid]=0
        
format(stringsizeof(string), "~W~Found ~r~Jimmy Hoffa"); 
        
GameTextForPlayer(playerid,string50003); 
        
format(stringsizeof(string), "Found a Dead Body Throw it Back And Keep Your Mouth Shut!"); 
        
SendClientMessage(playeridCOLOR_CYANstring); 
        } 
        case 
23
        { 
        
Fishing[playerid]=0
        
format(stringsizeof(string), "~W~Found ~r~Used Condom"); 
        
GameTextForPlayer(playerid,string50003); 
        
format(stringsizeof(string), "Found Used Condom. Served With Fried Rice!"); 
        
SendClientMessage(playeridCOLOR_CYANstring); 
        } 
        case 
24
        { 
        
Fishing[playerid]=0
        
format(stringsizeof(string), "~W~Found ~p~Underwear"); 
        
GameTextForPlayer(playerid,string50003); 
        
format(stringsizeof(string), "Found Underwear! You Threw it Back! Size Mismatch!"); 
        
SendClientMessage(playeridCOLOR_CYANstring); 
        } 
        } 
        return 
1

Reply
#9

help please
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)