15.04.2012, 15:32
The Gate opens and disapears into ground.
Here is my code:
Here is my code:
pawn Код:
if (strcmp("/armygateopen", cmdtext, true, 10) == 0)
{
if(PlayerInfo[playerid][pMember] == 15)
if(armygateopen == 1) {
SendClientMessage(playerid,COLOR_GRAD3," The Gate is already open !");
return 1;
}
armygateopen = 1;
MoveObject(armygate,976, 2720, -2401.3000488281, 12.5, 0, 0, 89.999938964844);
SetTimer("GateClose", 6000, 0);
SendClientMessage(playerid, COLOR_GRAD3, "A garage is opened and will close in 6 seconds.");
return 1;
}