25.07.2015, 19:31
1. Killing a timer that does not exist does nothing. But bear in mind that timer ids start at 0 so timer variables should be initialized with an invalid value (usually -1) and set to that variable again once the timer is killed.
2. There is no definitive answer. A script rarely goes over more than a few dozen megabytes. A MAX_PLAYER (1000 slots) array is merely 4 kilobytes in size. This shouldn't be a factor.
3. Don't know. Never tested.
4. Foreach.
5. Multiple timers. The faster a timer is done processing its code the faster the server can go on with other things.
6. I assume "SCMF" is some lazy ass macro way of sending a formatted client message which means it still relies on format(). Ergo, there is no difference except that the macro will severely slow your compile time.
7. An include is nothing more than copy-paste. In the end it's just the same old script and it changes absolutely nothing.
2. There is no definitive answer. A script rarely goes over more than a few dozen megabytes. A MAX_PLAYER (1000 slots) array is merely 4 kilobytes in size. This shouldn't be a factor.
3. Don't know. Never tested.
4. Foreach.
5. Multiple timers. The faster a timer is done processing its code the faster the server can go on with other things.
6. I assume "SCMF" is some lazy ass macro way of sending a formatted client message which means it still relies on format(). Ergo, there is no difference except that the macro will severely slow your compile time.
7. An include is nothing more than copy-paste. In the end it's just the same old script and it changes absolutely nothing.