01.08.2010, 10:22
(
Последний раз редактировалось Joe_; 02.08.2010 в 20:26.
)
The code looks ok, but the array is really static, there's no need for the MAX_GATES constant, you can keep the 1st dimenon empty, aslong as you are filling the array from there, you cannot create a empty array and do something with it anywhere else in the script, otherwise the size will be 0.
And you should remove the timer when you use the command, quick look through 'callbacks' will give you a good idea
Anyway it's a nice job, I like your command operating idea.
And you should remove the timer when you use the command, quick look through 'callbacks' will give you a good idea
Anyway it's a nice job, I like your command operating idea.