18.10.2011, 09:06
Hi I have one problem. I did everything ok, but my object is moving not right. I'm using 0.3c, but when full 0.3b version will be realesed, then ill use 0.3d...
I changed move distansion (X,Y,Z) but object moving in same wrong distansion. Ex. photo:
Код:
new obj;
Код:
obj = CreateObject(3095, 2492.6999511719, 2773, 9.3000001907349, 0.0, 0.0, 0.0);
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext, "/moveobject", true) == 0) { new string[50]; new movetime = MoveObject(obj, 1, 1, 3, 2.00); format(string, sizeof(string), "Object will finish moving in %d milliseconds", movetime); SendClientMessage(playerid, 0xFF000000, string); return 1; } return 0; }