01.02.2011, 18:44
ok i think u mean this
well when i compile it . it say undefined sympol "obj" !!!!
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext, "/pgate", true) == 0) { new string[50]; new movetime = MoveObject(obj, 2482.7414550781, -1688.0881347656, 10, 2.00); format(string, sizeof(string), "Object will finish moving in %d milliseconds", movetime); SendClientMessage(playerid, 0xFF000000, string); return 1; } return 0; }