29.07.2010, 07:17
Quote:
Its simple, and in the beggining its little bit of fun it simply opens a 'gate' when /open.
And the timer closes the gate so you dont have to make a /close CMD. |
and change the value of it when the gate opens/closes
Then test for the value of it to decide whether the gate opens closes, sry it's kind of hard to explain in words.
example:
Код:
new ifOpened; ongamemodeinit ifOpened = 0; /gate if(ifOpened = 0) { move the object to the opened position ifOpened = 1; } else { move the object to the closed position ifOpened = 0; }