30.12.2010, 23:23
(
Последний раз редактировалось scripter1; 31.12.2010 в 00:11.
)
pawn Код:
if(strcmp(cmdtext, "/aopen", true) == 0)
{
if (IsPlayerAdmin(playerid))
{
MoveObject(admingate, 1010.09375, 1844.1826171875, 15.902549743652, 2.0);// Last number is speed
SendClientMessage(playerid, COLOR_RED, "The gate is open");
return 1;
}
}
if(strcmp(cmdtext, "/aclose", true) == 0)
{
if (IsPlayerAdmin(playerid))
{
MoveObject(admingate, 1010.09375, 1844.1826171875, 11.402549743652, 2.0);
SendClientMessage(playerid, COLOR_RED, "The Gate Is closed Now");
return 1;
}
}