SA-MP Forums Archive
hello, question! - 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: hello, question! (/showthread.php?tid=555074)



hello, question! - danish007 - 06.01.2015

hello, i want to ask that why my pawn lagg while compiling it takes 2 or 3 minutes to compile..

one uy told me to use

pawn Код:
new OldWeapon[MAX_PLAYERS char];

instead of
new OldWeapon[MAX_PLAYERS];
so i want to ask that they both work as same or different? and is there any other way to remove lagg. or decrease number of bytes.


Re: hello, question! - Vince - 06.01.2015

Using char only lowers memory usage, because it only allows you to save values between 0 and 255, whereas normal variables can store values from -2 billion to 2 billion, more or less.

YSI seems to be notorious for causing long compile times.


Re: hello, question! - danish007 - 06.01.2015

so it is b/c of YSI? b/c im using YSI saving players accounts....