31.07.2010, 10:02
pawn Код:
if(strcmp(cmdtext, "/mansionopen", true) == 0)
{
new string[50];
new movetime = MoveObject(gate1, 1700.77, 2752.20, 10.83, 2.00); // Right Gate
new movetime2 = MoveObject(gate2, 2000.06, 2752.20, 10.83, 2.00);// Left gate
format(string, sizeof(string), "Gate will open in %d milliseconds", movetime, movetime2);
SendClientMessage(playerid, 0xFF000000, string);
SendClientMessage(playerid, COLOR_WHITE, "Mansion opened!");
return 1;
}