[Pomoc] Warning sInfo...

Započeo Lemi_Zero, Januar 06, 2012, 11:09:04 PRE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Lemi_Zero

Skripta koju koristim: CLRP
Detaljan opis problema: Ubacio sam stan sistem sve lepo radi ali imam jedan warning...
Dio skripte:
C:\Documents and Settings\Admin\Desktop\Classic Life RolePlay\gamemodes\CLRP.pwn(2452) : warning 201: redefinition of constant/macro (symbol "sInfo")
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

Header size:          15464 bytes
Code size:          3716844 bytes
Data size:          3491780 bytes
Stack/heap size:      16384 bytes; estimated max. usage=4487 cells (17948 bytes)
Total requirements: 7240472 bytes

1 Warning.

To je ova linija..... evo
enum sInfo
{                                                 //OVA OVDE LINIJA DAJE WARNING
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,
   sRent,
sRentabil,
sOwned,
sRooms,
sTakings,
sVec,
sVcol1,
sVcol2,
sDate,
sLevel,
sWorld
};
new StanInfo[170][sInfo];
new StanEntered[MAX_PLAYERS];

Neke slike/video za lakse dobivanje pomoci(neobavezno): //[/b]
Poslednja Izmena: Januar 06, 2012, 11:11:11 PRE PODNE od Lemi_Zero

Mr.Gagi

Vec imas enum sInfo
Stavi ovako
enum sInfo1
{                                         
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,
    sRent,
sRentabil,
sOwned,
sRooms,
sTakings,
sVec,
sVcol1,
sVcol2,
sDate,
sLevel,
sWorld
};
new StanInfo[170][sInfo1];
new StanEntered[MAX_PLAYERS];