Problem with multiple random
#1

Hello,

My pawno compiler gives this error: error 018: initialization data exceeds declared size

And this is the code

pawn Код:
new Float:RandomFish[][2] =
{
    {"* You caught a 2 kilogramm Carper.", 2 },
    {"* You caught a 3 kilogramm Carper.", 3 },
    {"* You caught a 4 kilogramm Carper.", 4 },
    {"* You caught a 5 kilogramm Carper.", 5 },
    {"* You caught a 2 kilogramm Driftfish.", 2 },
    {"* You caught a 3 kilogramm Driftfish.", 3 },
    {"* You caught a 4 kilogramm Driftfish.", 4 },
    {"* You caught a 5 kilogramm Driftfish.", 5 },
    {"* You caught a 6 kilogramm Driftfish.", 6 },
    {"* You didn't catch a fish, sorry.", 0 },
    {"* You didn't catch a fish, sorry.", 0 },
    {"* You didn't catch a fish, sorry.", 0 },
    {"* You didn't catch a fish, sorry.", 0 },
    {"* You didn't catch a fish, sorry.", 0 },
    {"* You didn't catch a fish, sorry.", 0 },
    {"* You didn't catch a fish, sorry.", 0 },
    {"* You didn't catch a fish, sorry.", 0 },
    {"* You didn't catch a fish, sorry.", 0 },
    {"* You didn't catch a fish, sorry.", 0 },
    {"* You didn't catch a fish, sorry.", 0 },
    {"* You didn't catch a fish, sorry.", 0 },
    {"* You didn't catch a fish, sorry.", 0 },
    {"* You didn't catch a fish, sorry.", 0 },
    {"* You didn't catch a fish, sorry.", 0 },
};
Does anyone know what is wrong with it?

Regards, Jochem
Reply


Messages In This Thread
Problem with multiple random - by Jochemd - 22.08.2010, 18:34
Re: Problem with multiple random - by DeadAhead - 22.08.2010, 18:38
Re: Problem with multiple random - by WackoX - 22.08.2010, 18:41
Re: Problem with multiple random - by Jochemd - 22.08.2010, 18:41
Re: Problem with multiple random - by Jochemd - 22.08.2010, 18:43
Re: Problem with multiple random - by iggy1 - 22.08.2010, 18:46
Re: Problem with multiple random - by Jochemd - 22.08.2010, 18:47
Re: Problem with multiple random - by Jochemd - 22.08.2010, 18:51
Re: Problem with multiple random - by Mauzen - 22.08.2010, 18:57
Re: Problem with multiple random - by Jochemd - 24.08.2010, 08:34

Forum Jump:


Users browsing this thread: