10.12.2013, 23:19
Updated some things in the main post, check it out!
Ah, I'm always getting confused between those two, thanks for clearing that up! If I recall correctly, functions allocate memory to the stack upon being called, and "return" simply clears it from the stack.
Those "dynamic memory" scripts still do infact take up memory, but since they're coded in C++, I'm not entirely sure, I'll have to read up on it since I never worked with C++ before.
Regarding the MAX_PLAYERS * 20 thing, I actually wrote a similar include that allows the possibility to add strings to a "packed list array" without any indexes a few days ago. However I can't seem to find it!
Gonna check out y_jaggedarray for sure, I actually checked it out last year but that was when I barely understand anything haha.
Ah, I'm always getting confused between those two, thanks for clearing that up! If I recall correctly, functions allocate memory to the stack upon being called, and "return" simply clears it from the stack.
Those "dynamic memory" scripts still do infact take up memory, but since they're coded in C++, I'm not entirely sure, I'll have to read up on it since I never worked with C++ before.
Regarding the MAX_PLAYERS * 20 thing, I actually wrote a similar include that allows the possibility to add strings to a "packed list array" without any indexes a few days ago. However I can't seem to find it!
Gonna check out y_jaggedarray for sure, I actually checked it out last year but that was when I barely understand anything haha.