26.09.2011, 14:10
Well in theory you can use all 3 at the same time.
Static declares a variable to that file only, it is invisible for all other files (for an include, maybe). Const declares the variable as constant, this means you cannot modify it (accidentally) with code (useful for arrays of coordinates that never change). Stock tells the compiler to ignore the variable if it is never referred to in the code.
More details, as said, in pawn_lang.pdf
pawn Код:
static const stock gMyArray[3] = {1, ...};
More details, as said, in pawn_lang.pdf