SA-MP Forums Archive
Large amx size - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Large amx size (/showthread.php?tid=654416)



Large amx size - 3417512908 - 28.05.2018

I use a furniture filterscript.When I compile it.I get the large amx size!!! Even to 3MB
When I try changes #define MAX_FURNITURE to 8000.It give me crazy size!!!WTF? Size is 124MB
Код:
#define MAX_FURNITURE 2000
#define SCM SendClientMessage
#define Dialog_Edit 4500
#define Dialog_Edit2 4503
#define Dialog_Down 4501
#define Dialog_GetRangeFurniture 4502
//
enum fInfo
{
	fID,
	fObject,
	fModel,
	Float:fX,
	Float:fY,
	Float:fZ,
	Float:fRX,
	Float:fRY,
	Float:fRZ,
	fvID,
	fInt,
	Text3D:fText,
	bool:fLiftup,
	fName[256],
	fOwner[256]
}
new FurnitureInfo[MAX_FURNITURE][fInfo];
Someone know way of solve? Please help me!