[pomoc] 2 errora

Započeo Danijel96.pwn, Oktobar 06, 2011, 21:09:15 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

skripta koju koristim : BU
opis problema neznam sta treba da definisem

errori C:\Users\Danijel\Desktop\Balkan Serbian Forces\gamemodes\BSF.pwn(1524) : error 017: undefined symbol "sInfo"
C:\Users\Danijel\Desktop\Balkan Serbian Forces\gamemodes\BSF.pwn(1524) : error 009: invalid array size (negative, zero or out of bounds)


deo skripte : new StanInfo[0][sInfo];

enum sInfo
{
Float:sEntrancex,
Float:sEntrancey,
Float:sEntrancez,
Float:sExitx,
Float:sExity,
Float:sExitz,
sHealthx,
sHealthy,
sHealthz,
sArmourx,
sArmoury,
sArmourz,
sOwner[MAX_PLAYER_NAME],
sDiscription[MAX_PLAYER_NAME],
sValue,
sHel,
sArm,
sInt,
sLock,
sOwned,
sRooms,
sRent,
sRentabil,
sTakings,
sVec,
sVcol1,
sVcol2,
sDate,
sLevel,
sWorld
};


de treba da definisem to
Respect: Gagi, Maki187, Phillips, TerminuS, Neno, Lepotic, [AL] K4[Я]!K3â,,¢, Gotti747

dragan12

To ide ispod enuma
Ovako:

enum sInfo
{
Float:sEntrancex,
Float:sEntrancey,
Float:sEntrancez,
Float:sExitx,
Float:sExity,
Float:sExitz,
sHealthx,
sHealthy,
sHealthz,
sArmourx,
sArmoury,
sArmourz,
sOwner[MAX_PLAYER_NAME],
sDiscription[MAX_PLAYER_NAME],
sValue,
sHel,
sArm,
sInt,
sLock,
sOwned,
sRooms,
sRent,
sRentabil,
sTakings,
sVec,
sVcol1,
sVcol2,
sDate,
sLevel,
sWorld
};
new StanInfo[0][sInfo];

ok reseno lock
Respect: Gagi, Maki187, Phillips, TerminuS, Neno, Lepotic, [AL] K4[Я]!K3â,,¢, Gotti747