[FilterScript] Simple Gates | 1 Line, 1 Gate
#2

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.
Reply


Messages In This Thread
Simple Gates | 1 Line, 1 Gate - by Ash. - 01.08.2010, 10:15
Re: Simple Gates | 1 Line, 1 Gate - by Joe_ - 01.08.2010, 10:22
Re: Simple Gates | 1 Line, 1 Gate - by nuriel8833 - 01.08.2010, 10:30
Re: Simple Gates | 1 Line, 1 Gate - by Ash. - 01.08.2010, 10:51
Re: Simple Gates | 1 Line, 1 Gate - by Joe_ - 01.08.2010, 11:14
Re: Simple Gates | 1 Line, 1 Gate - by [MWR]Blood - 01.08.2010, 11:24
Re: Simple Gates | 1 Line, 1 Gate - by Ash. - 01.08.2010, 13:29
Re: Simple Gates | 1 Line, 1 Gate - by Ash. - 01.08.2010, 13:31
Re: Simple Gates | 1 Line, 1 Gate - by markokk888 - 01.08.2010, 21:09
Re: Simple Gates | 1 Line, 1 Gate - by Ash. - 02.08.2010, 08:16
Respuesta: Simple Gates | 1 Line, 1 Gate - by adri93 - 02.08.2010, 15:05
Re: Simple Gates | 1 Line, 1 Gate - by Ash. - 02.08.2010, 16:33
Re: Simple Gates | 1 Line, 1 Gate - by Hal - 02.08.2010, 19:24
Re: Simple Gates | 1 Line, 1 Gate - by Ash. - 02.08.2010, 20:01
Re: Simple Gates | 1 Line, 1 Gate - by T4vY - 04.08.2010, 09:06
Re: Simple Gates | 1 Line, 1 Gate - by Ash. - 04.08.2010, 09:37
Re: Simple Gates | 1 Line, 1 Gate - by a!DaN)_)-) - 04.08.2010, 20:16
Re: Simple Gates | 1 Line, 1 Gate - by Ash. - 05.08.2010, 18:34
Re: Simple Gates | 1 Line, 1 Gate - by sergio_xd - 05.08.2010, 19:56
Re: Simple Gates | 1 Line, 1 Gate - by Ash. - 06.08.2010, 09:15
Re: Simple Gates | 1 Line, 1 Gate - by a!DaN)_)-) - 06.08.2010, 17:24
Re: Simple Gates | 1 Line, 1 Gate - by Hal - 19.08.2010, 02:45
Re: Simple Gates | 1 Line, 1 Gate - by MBX97 - 14.10.2010, 06:05
Re: Simple Gates | 1 Line, 1 Gate - by g_aSlice - 14.10.2010, 07:05

Forum Jump:


Users browsing this thread: 3 Guest(s)