11.10.2012, 14:03
can someone help me with these spawnplaces :
new iSpawnSet[MAX_PLAYERS];
new Float:gRandomPlayerSpawns[23][3] = {
{2022.0264,1912.8053,12.3085,271.0555},
{2002.3131,1544.7351,13.5859,274.2728},
{2021.7002,1342.9380,10.8130,271.8450},
{2024.6863,1008.0142,10.8203,268.3375},
{2540.5234,1507.6232,11.0600,270.0753},
{2445.4412,1662.2295,10.8203,268.1276},
{2628.2605,1824.6783,11.0234,90.8377},
{1760.3098,2072.7112,10.8203,183.2706},
{1436.5428,2605.8967,10.6719,174.2706},
{406.1980,2536.2451,16.5463,92.0181},
{285.3898,1937.9608,17.6406,268.8461},
};
i have errors with one but when i delete it a new error with the other one comes up here :
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(31) : error 018: initialization data exceeds declared size
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(42) : error 008: must be a constant expression; assumed zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
new iSpawnSet[MAX_PLAYERS];
new Float:gRandomPlayerSpawns[23][3] = {
{2022.0264,1912.8053,12.3085,271.0555},
{2002.3131,1544.7351,13.5859,274.2728},
{2021.7002,1342.9380,10.8130,271.8450},
{2024.6863,1008.0142,10.8203,268.3375},
{2540.5234,1507.6232,11.0600,270.0753},
{2445.4412,1662.2295,10.8203,268.1276},
{2628.2605,1824.6783,11.0234,90.8377},
{1760.3098,2072.7112,10.8203,183.2706},
{1436.5428,2605.8967,10.6719,174.2706},
{406.1980,2536.2451,16.5463,92.0181},
{285.3898,1937.9608,17.6406,268.8461},
};
i have errors with one but when i delete it a new error with the other one comes up here :
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(31) : error 018: initialization data exceeds declared size
C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(42) : error 008: must be a constant expression; assumed zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.