06.02.2013, 19:14
Thanks, one more thing if that's cool, cheers! I have now added this:
How do I make it give the player the amount of money shown in the random section above ^
pawn Код:
new FishNames[][] =
{
"Shark",
"Clownfish",
"Angelfish",
"Catfish",
"Dogfish",
"Eel",
"$23",
"$28",
"$37",
"$53",
"$61",
"$80",
"$121",
"$133",
"$178",
"$500"
};
pawn Код:
if(FishName == 6 || FishName == 7 || FishName == 8 || FishName == 9 || FishName == 10 || FishName == 11 || FishName == 12 || FishName == 13 ||
FishName == 14 || FishName == 15)
{//Moneybags
format(string, sizeof(string), "* %s has fished up a $%s moneybag.", Name(playerid), FishNames[FishName]);
SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
return 1;
}