09.04.2012, 15:56
It's slightly pointless to use zcmd for just two commands... But if you're using a filterscript, it makes sense, though you should use #define filterscript - so zcmd knows it's processing a filterscript.
I presume it's a warning, not an error. "gate has not been used" is not something that would cause an error.
You could've used a #define for the name or a variable so it would be more dynamic, this would cover defines/macros a little more for new scripters and it would be easier for them to update.
Not all tutorials are for beginners, tutorials come out frequently which explain parts of Pawn that the majority of us don't know, for example there's one for making plugins, there's one explaining #emit and there's loads of other good tutorials for things that you don't pick up when you begin scripting.
Quote:
You will still get error so you gotta do this; |
You could've used a #define for the name or a variable so it would be more dynamic, this would cover defines/macros a little more for new scripters and it would be easier for them to update.
Not all tutorials are for beginners, tutorials come out frequently which explain parts of Pawn that the majority of us don't know, for example there's one for making plugins, there's one explaining #emit and there's loads of other good tutorials for things that you don't pick up when you begin scripting.