21.08.2012, 16:23
Here's a little lecture: https://sampwiki.blast.hk/wiki/Scripting_Basics#global
If you want 2 functions to share variable/array, then the variable has to be global
If you want 2 functions to share variable/array, then the variable has to be global