29.08.2009, 04:37
Код:
if (strcmp("/gateopen", cmdtext, true, 10) == 0) { MoveObject(gate1, 96.712158, 1920.029419, 18.852978, 2.0); SendClientMessage(playerid, COLOR_GREEN, "Gate opening..."); return 1; } if(strcmp("/gateclose", cmdtext, true, 10) == 0) { MoveObject(gate1,96.627892, 1925.867065, 18.861610, 2.0 ); SendClientMessage(playerid, COLOR_GREEN, "Gate closing..."); return 1; }