21.10.2016, 11:15
I was creating an enum for faction info and received an error on one of the lines.
What am I doing wrong here?
pawn Код:
enum E_FACTION_DATA
{
fID,
fName[24],
fType,
fRankName[6][24], //this is the error line
Float:fSpawnX,
Float:fSpawnY,
Float:fSpawnZ,
Float:fSpawnA,
fSpawnInterior,
fSpawnVirtualWorld
}
new Faction[MAX_FACTIONS][E_FACTION_DATA];
Код:
error 001: expected token: "}", but found "["