16.06.2016, 08:05
1. They both serve entirely different purposes. Moreover, arrays are always initialized with braces and their default value is always zero. See page 64 of the manual (pawn-lang.pdf) for progressive initiallers.
2. Public is only needed for callbacks, and functions called by timers. Stock is never needed. Better to have no keyword at all unless you're writing an include.
3. Depends on the type of textdraw. Normal (global) textdraw is best created in OnGameModeInit. Player textdraw gets destroyed on disconnect and must therefore be recreated each time.
2. Public is only needed for callbacks, and functions called by timers. Stock is never needed. Better to have no keyword at all unless you're writing an include.
3. Depends on the type of textdraw. Normal (global) textdraw is best created in OnGameModeInit. Player textdraw gets destroyed on disconnect and must therefore be recreated each time.