03.02.2014, 17:50
I didn't mean like that, you need to declare array sizes inside of it.
You're using two arrays, so you need to create two arrays for timer.
https://sampwiki.blast.hk/wiki/Scripting_Basics#Arrays
pawn Код:
// MAX_PLAYERS = maximum players that can join the server, slots.
// MAX_ZONES = maximum zones that can be initated, tho I think this is already in usage.
// Attempt to use MAX_CAPTURE_ZONES in a #define.
new timer[MAX_PLAYERS][MAX_ZONES];
Код:
new timer[ARRAY_SIZE_1][ARRAY_SIZE_2];