28.01.2017, 18:35
You just have to reduce the size of the first dimension (change it from 4 to 3)
like that
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
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
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}
};
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}
};
more info can be found here
https://sampforum.blast.hk/showthread.php?tid=318212