06.04.2010, 09:54
with whatever command you close a gate? Code please
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/open", true) == 0)
{
new string[50];
new movetime = MoveObject(obj, 226.70172119141, 1872.1501464844, 18.659656524658, 2.00);
format(string, sizeof(string), "Object will finish moving in %d milliseconds", movetime);
SendClientMessage(playerid, 0xFF000000, string);
return 1;
}
return 0;
}

