multi-dimensional arrays must be fully initialized
#2

You just have to reduce the size of the first dimension (change it from 4 to 3)
like that
PHP код:
new Float:RacersRandomSpawns[3][3] = 

    {
2630.0979,1824.9392,11.0234}, 
    {
2630.3567,1716.6747,11.0234}, 
    {
2597.3518,1897.6078,11.0312
}; 
You have to be accurate using two dimensional arrays,

if you feel the need to add more data into that array, just put it this way
PHP код:
new Float:RacersRandomSpawns[][] = 

    {
2630.0979,1824.9392,11.0234}, 
    {
2630.3567,1716.6747,11.0234}, 
    {
2597.3518,1897.6078,11.0312
}; 
Don't bother defining a size of the array, and let the compiler calculate it instead

more info can be found here
https://sampforum.blast.hk/showthread.php?tid=318212
Reply


Messages In This Thread
multi-dimensional arrays must be fully initialized - by RyderX - 28.01.2017, 18:26
Re: multi-dimensional arrays must be fully initialized - by Eoussama - 28.01.2017, 18:35
Re: multi-dimensional arrays must be fully initialized - by RyderX - 28.01.2017, 18:37

Forum Jump:


Users browsing this thread: 1 Guest(s)