10.03.2013, 16:46
If I have about seven enums in total which contains more than 100 info or more.
for example:
The max houses is 600 and there's furniture ENUM for each house, max furniture for each house is 50.
so if 600 houses will contain 50 furniture, there will be tons of lags?
thanks in advance.
for example:
pawn Код:
enum HOUSE_INFO
{
hID,
Text3D:hLabel,
hCheckPoint,
Float:hEntranceX,
Float:hEntranceY,
Float:hEntranceZ,
Float:hExitX,
Float:hExitY,
Float:hExitZ,
hInfo[128],
hOwner[MAX_PLAYER_NAME],
hOwned,
hLocked,
hPrice,
hLevelbuy,
hRentprice,
hRentable,
hInterior,
hWorld,
hCash,
hFurnitures,
hHouseOn,
Float:hCheckPosX,
Float:hCheckPosY,
Float:hCheckPosZ
};
new HouseInfo[MAX_HOUSES][HOUSE_INFO];
enum FURNITURE_INFO
{
fID,
fModel,
fObject,
fName[128],
fHouseID,
fInterior,
fVirtualWorld,
fMarketPrice,
Float:fPosX,
Float:fPosY,
Float:fPosZ,
Float:fPosRX,
Float:fPosRY,
Float:fPosRZ,
fOn,
}
new FurnitureInfo[MAX_HOUSES][MAX_FURNITURE][FURNITURE_INFO];
The max houses is 600 and there's furniture ENUM for each house, max furniture for each house is 50.
so if 600 houses will contain 50 furniture, there will be tons of lags?
thanks in advance.