need help
#1

pawn Код:
new Scripter[2][] =
{
    "harpdro",
    "firefly",
};
Код:
C:\Documents and Settings\atesz\Asztal\RP\gamemodes\gtarp(1).pwn(64) : error 018: initialization data exceeds declared size
Reply
#2

try

pawn Код:
new Scripter[ ][ 12 ] =
Reply
#3

not good for error will be even more
Reply
#4

Try not giving your array a data limit, like so;

pawn Код:
new Scripter[][] =
{
    "harpdro",
    "firefly",
};
Reply
#5

pawn Код:
new Scripter[][] =
{
    "harpdro",
    "firefly",
};
Код:
C:\Documents and Settings\atesz\Asztal\RP\gamemodes\gtarp(1).pwn(65) : error 029: invalid expression, assumed zero
C:\Documents and Settings\atesz\Asztal\RP\gamemodes\gtarp(1).pwn(65) : error 008: must be a constant expression; assumed zero
Reply
#6

Take of the ending comma on your last string.

Like;

pawn Код:
new Scripter[][] =
{
    "harpdro",
    "firefly"
};
Should of noticed that earlier too.
Reply
#7

thanx!
Reply
#8

No problem!

I should see that sort of stuff earlier, that annoys me. lol

Have Fun!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)