Moveobject bug [Rep] [Small problem] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Moveobject bug [Rep] [Small problem] (
/showthread.php?tid=310161)
Moveobject bug [Rep] [Small problem] -
Twinki1993 - 10.01.2012
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:
Код:
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;
}
Re: Moveobject bug [Rep] [Small problem] -
Twinki1993 - 10.01.2012
Bump