SA-MP Forums Archive
Memory using in variables, booleans and enums - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Memory using in variables, booleans and enums (/showthread.php?tid=152728)



Memory using in variables, booleans and enums - Jochemd - 05.06.2010

Hey,

As you see my signature, I'm scripting an admin system (to test my skills and release). Now I was working with my enums and I was wondering why it does take less memory than a basic variable. And the memory use would be this?

Variable --> less memory 'boolean' --> less memory 'enum'.

I know how to use these all, just wondering,

Regards, Jochem