29.01.2010, 18:23
you need a variable that contains the id of the gate
you need it defined by CreateObject
you move it with the id
and a variable to check if its open or not
pawn Код:
new object;
you need it defined by CreateObject
pawn Код:
object = CreateObject(...);
you move it with the id
pawn Код:
MoveObject(object, ...);
and a variable to check if its open or not