29.07.2012, 21:00
Hello there,
So I have this little problem:
So I have this little problem:
Код:
D:\samp\gamemodes\gm.pwn(158) : warning 228: length of initialler exceeds size of the enum field D:\samp\gamemodes\gm.pwn(158) : error 018: initialization data exceeds declared size
pawn Код:
enum _factionInfos{
fName[24],
fColor[6],
Float:fHQX,
Float:fHQY,
Float:fHQZ,
Float:fiHQX,
Float:fiHQY,
Float:fiHQZ,
fiHQ,
Float:fDutyX,
Float:fDutyY,
Float:fDutyZ
}
new FactionInfos[MAX_FACTIONS][_factionInfos] = {
{"Mayor", "D1A700", 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1, 9999.99, 9999.99, 9999.99}, //This is line 158
{"Sheriff Departmen", "009900", 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1, 0.0, 0.0, 0.0},
{"Medic Center", "8C1717", 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1, 0.0, 0.0, 0.0},
{"Fort Carson News", "97694F", 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1, 9999.99, 9999.99, 9999.99},
{"Tagliano", "000000", 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1, 9999.99, 9999.99, 9999.99}
};