need help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: need help (
/showthread.php?tid=228205)
need help -
Finging - 19.02.2011
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
Re: need help -
Retardedwolf - 19.02.2011
try
Re: need help -
Finging - 19.02.2011
not good for error will be even more
Re: need help -
Ash. - 19.02.2011
Try not giving your array a data limit, like so;
pawn Код:
new Scripter[][] =
{
"harpdro",
"firefly",
};
Re: need help -
Finging - 19.02.2011
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
Re: need help -
Ash. - 19.02.2011
Take of the ending comma on your last string.
Like;
pawn Код:
new Scripter[][] =
{
"harpdro",
"firefly"
};
Should of noticed that earlier too.
Re: need help -
Finging - 19.02.2011
thanx!
Re: need help -
Ash. - 19.02.2011
No problem!
I should see that sort of stuff earlier, that annoys me. lol
Have Fun!