16.06.2016, 02:08
Quote:
This is stupid and unnecessary. You'll only increase the size of the compiled amx and therefore you'll also consume more memory, not less. A define or macro merely does some basic text replacing, which means the code is effectively copied to all places that it used, rather than being referenced from a single location.
Furthermore, there's no such thing as "a stock". It's either "a function" or "a stock function" but never just "a stock". A stock function should - as its name implies - contain stock code that can be used in any and all scripts without changes. This function relies on global variables and should therefore not be declared stock. |
I didn't really know how the compiler works, but now I got the message.
Thank you, once again.
P.S you shouldn't use "stupid" xD
Remember that we all have started as newbies