27.08.2009, 14:30
Код:
if (strcmp("/gateopen", cmdtext, true, 10) == 0) { MoveObject(gate1, 96.627892, 1925.867065, 18.861610, 2.0); SendClientMessage(playerid, COLOR_GREEN, "Gate opening..."); return 1; } if(strcmp("/gateclose", cmdtext, true, 10) == 0) { MoveObject(gate1, 96.712158, 1920.029419, 18.852978, 2.0); SendClientMessage(playerid, COLOR_GREEN, "Gate closing..."); }
Just do
new gate1;
By the way add the new code i did for you