Errors at SpawnPoints Defination
#1

Hello,

I am developing an Server which has different game maps which has different spawnpoints of course.

I tried this:

pawn Код:
new Float:SpawnPoints[MAX_MAPS][][4] =
{
    {
        {585.2798, 1505.1494, 374.7411, 0},
        {570.7695, 1507.6335, 374.7411, -22.0000},
        {559.3127, 1515.2843, 374.7411, -36.0000},
        {550.9893, 1527.0104, 374.7411, -58.0000},
        {548.8347, 1541.1188, 374.7411, -94.0000},
        {553.1444, 1552.8341, 374.7411, -118.0000},
        {560.4863, 1562.7729, 374.7411, -128.0000},
        {569.4068, 1568.6963, 374.7411, -152.0000},
        {599.2963, 1509.5494, 374.7411, 24.0000},
        {406, 609.0432, 1519.7307, 374.7411, 54.0000},
        {613.8626, 1535.9028, 374.7411, 82.0000},
        {610.5563, 1553.8574, 374.7411, 118.0000},
        {601.8462, 1564.5435, 374.7411, 142.0000}
    },
    {
        {585.2798, 1505.1494, 374.7411, 0},
        {570.7695, 1507.6335, 374.7411, -22.0000},
        {559.3127, 1515.2843, 374.7411, -36.0000},
        {550.9893, 1527.0104, 374.7411, -58.0000},
        {548.8347, 1541.1188, 374.7411, -94.0000},
        {553.1444, 1552.8341, 374.7411, -118.0000},
        {560.4863, 1562.7729, 374.7411, -128.0000},
        {569.4068, 1568.6963, 374.7411, -152.0000},
        {599.2963, 1509.5494, 374.7411, 24.0000},
        {406, 609.0432, 1519.7307, 374.7411, 54.0000},
        {613.8626, 1535.9028, 374.7411, 82.0000},
        {610.5563, 1553.8574, 374.7411, 118.0000},
        {601.8462, 1564.5435, 374.7411, 142.0000}
    }
};
(from an basic script tutorial)
But I get these errors:

Код:
warning 213: tag mismatch
warning 213: tag mismatch
error 018: initialization data exceeds declared size
error 010: invalid function or declaration
Reply


Messages In This Thread
Errors at SpawnPoints Defination - by Stefand - 06.08.2013, 08:30

Forum Jump:


Users browsing this thread: 1 Guest(s)