03.01.2015, 18:19
Lordzy already said that enums are the common solution for that. Just putting/removing tags as you need them is pretty dirty style. After all both variants will be compiled to the same amx code, there is no difference in speed. But enums are a logical strcuture that makes your code easier to read and understand, and its easier to spot bugs.
Overriding the tags manually with _: basically does nothing but hiding the tag mismatch warnings.
Id suggest to start directly with enums, dont mess around with bad style.
Overriding the tags manually with _: basically does nothing but hiding the tag mismatch warnings.
Id suggest to start directly with enums, dont mess around with bad style.