18.10.2011, 16:48
(
Последний раз редактировалось KingHual; 18.10.2011 в 18:09.
)
Try:
The "Object will finish moving in ... seconds" won't be correct though. But this thread is about the object not showing up after all.
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext, "/moveobject", true) == 0) { new string[50]; new Float:X, Float:Y, Float:Z; GetObjectPos(obj, X, Y, Z); new movetime = MoveObject(obj, X + 1, Y + 1, Z + 3, 2.00); format(string, sizeof(string), "Object will finish moving in %d milliseconds", movetime); SendClientMessage(playerid, 0xFF000000, string); return 1; } return 0; }