10.01.2012, 22:29
Hello guys well I am trying to move this object constantly but it's having a bug, it moves but it rotates too.
This is when it's just on the ground (no problems)
http://imageshack.us/photo/my-images/864/samp265a.png/
This is what is happends when it moves to the position
http://imageshack.us/photo/my-images/830/samp266gt.png/
It just flips... How to fix this?
Code:
This is when it's just on the ground (no problems)
http://imageshack.us/photo/my-images/864/samp265a.png/
This is what is happends when it moves to the position
http://imageshack.us/photo/my-images/830/samp266gt.png/
It just flips... How to fix this?
Code:
Код:
if (strcmp("/elevatorup", cmdtext, true) == 0) { if(GetPlayerTeam(playerid) == 1) { SendClientMessage(playerid, COLOR_RED, "<!>You are not part of that team!"); return 1; } MoveObject(elevator1, -1820.4316, 91.4340, 22.9453, 5, 0.0, 180, 180.0); return 1; }