16.01.2010, 09:57
i got a command for my gate:
Its working perfect, but i want that he after 7 seconds close,
Some one can make that?
Code for closing:
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp("/opengate", cmdtext, true, 10) == 0) MoveObject(gate,-293.828,1507.450,76.070,1.5000); // 1.5000 means how fast it has to open return 1; }
Some one can make that?
Code for closing:
Код:
MoveObject(gate,-302.628,1507.450,76.070,1.500);