SA-MP Forums Archive
initialization data exceeds declared size - 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)
+--- Thread: initialization data exceeds declared size (/showthread.php?tid=418623)



initialization data exceeds declared size - Louris - 25.02.2013

new Float:RandomSpawnMINIGUN[][3] =
{
{-2366.8083,1536.2828,2.1172,358.8597}, //error here
{-2439.5500,1554.5298,2.1231,272.5474}
};

And warning: warning 202: number of arguments does not match definition
Код:
SetPlayerPos(playerid, RandomSpawnMINIGUN[rando][0], RandomSpawnMINIGUN[rando][1]);



Re: initialization data exceeds declared size - SuperViper - 25.02.2013

pawn Код:
new Float:RandomSpawnMINIGUN[][4] =
pawn Код:
SetPlayerPos(playerid, RandomSpawnMINIGUN[rando][0], RandomSpawnMINIGUN[rando][1], RandomSpawnMINIGUN[rando][2]);