Got an Error - 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: Got an Error (
/showthread.php?tid=590701)
Got an Error -
MD5 - 03.10.2015
Here's the error:
Код:
C:\Users\\Desktop\GAMEMODE\gamemodes\lsgw.pwn(72) : error 052: multi-dimensional arrays must be fully initialized
Here's the code:
Код:
new Float:NaNangBoysSpawn[6][4] = {
{-1983.503417,125.564216,27.687500,86.831398},
{-1984.343017,173.488876,27.687500,88.084724},
{-1983.458374,109.709213,27.679862,88.711402},
{-1972.408935,123.415649,27.687500,94.351356}
};
Thanks!
AW: Got an Error -
Kaliber - 03.10.2015
Write it like this:
PHP код:
stock Float:NaNangBoysSpawn[][4] = {
{-1983.503417,125.564216,27.687500,86.831398},
{-1984.343017,173.488876,27.687500,88.084724},
{-1983.458374,109.709213,27.679862,88.711402},
{-1972.408935,123.415649,27.687500,94.351356}
};