29.05.2014, 20:02
(
Последний раз редактировалось Aerotactics; 29.05.2014 в 20:45.
)
Brief: I don't know why this is happening, so if you could explain the problem that would be nice. I'm familiar with y_ini, but I never took the time to actually sit down and learn how to write it.
EDIT: added enum
EDIT 2: updated enum
EDIT 3: RESOLVED
Код:
C:\Users\Aerotactics\Desktop\SAMP testing\gamemodes\rp.pwn(49) : error 001: expected token: ")", but found "[" C:\Users\Aerotactics\Desktop\SAMP testing\gamemodes\rp.pwn(49) : warning 215: expression has no effect C:\Users\Aerotactics\Desktop\SAMP testing\gamemodes\rp.pwn(49) : error 001: expected token: ";", but found "]" C:\Users\Aerotactics\Desktop\SAMP testing\gamemodes\rp.pwn(49) : error 029: invalid expression, assumed zero C:\Users\Aerotactics\Desktop\SAMP testing\gamemodes\rp.pwn(49) : fatal error 107: too many error messages on one line
pawn Код:
enum bizinfo
{
Float:EnX,
Float:EnY,
Float:EnZ,
Float:ExX,
Float:ExY,
Float:ExZ,
bizname[64],
bowner[64],
bprice,
bincome,
btype
}
new bInfo[MAX_BIZ][bizinfo];
//Error line
INI_String("BizName", bInfo[BizID][bizname], sizeof(bInfo[BizID][bizname]));
EDIT 2: updated enum
EDIT 3: RESOLVED


