A few questions ... - 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: A few questions ... (
/showthread.php?tid=187574)
A few questions ... -
Danny - 03.11.2010
Hello,
I have a few questions about scripting things and systems.
What uses the least memory?
MAX_PLAYERS arrays (new Array[MAX_PLAYERS])
A 2d/3d array (Array[playerid][item])
Or PVars (SetPlayerPVarInt(playerid,"Array",1337);
Why the gl_property script won't work with interiors with Interiorid 0?
Greetz,
Danny
Re: A few questions ... -
LarzI - 03.11.2010
@Memory question: I believe MAX_PLAYERS array uses least memory, but it's not doing the same as the others, so it would be a pretty bad example.