02.05.2013, 17:29
well, I tested some stuff and I need enum in enum but when I do it I get error
error
after I added Skins[300][SkinInfo] into enum I get this error, any ideas?
pawn Код:
enum SkinInfo
{
sOwned,sOwner[25]
}
enum pGlobalInfo
{
bool:CarsLoading,timer[3],Text:TimeTextDraw,Text:WebsiteTextDraw,Text:DateTextDraw,IconsSys[MAX_INTERIRS],InterIcons[MAX_ICONS],PlayerText:TextDrawPos[MAX_PLAYERS],
Text:SkinBackTextDraw,Text:SkinNameTextDraw,PlayerText:PlayerSkinInfo[MAX_PLAYERS],PlayerText:SelectSkin[MAX_PLAYERS],
Skins[300][SkinInfo] //line 83
}
new ServerGlobalInfo[pGlobalInfo];
Код:
gm.pwn(83) : error 001: expected token: "}", but found "["