SA-MP Forums Archive
MoveDynamicObject to up - 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: MoveDynamicObject to up (/showthread.php?tid=639097)



MoveDynamicObject to up - Ilaibens - 11.08.2017

Hey,
How can i do MoveDynamicObject to up
this is the code:
Код:
new LSPDGate;

ongamemodinit:
LSPDGate = CreateDynamicObject(968, 1544.70557, -1630.98364, 13.04230,   0.00000, 90.00000, 90.00000);

cmd:

CMD:lspdopeng(playerid, params[])
{
    //if(!IsACop(playerid)) return SendClientMessage(playerid, COLOR_GRAD2, NOTADMIN);
    MoveDynamicObject(LSPDGate, 1544.70557, -1630.98364, 13.04230, 2.0);
	return 1;
}
thanks !


Re: MoveDynamicObject to up - Camtasia - 11.08.2017

//1544.70557, -1630.98364, 13.04230 in those you need to move the third one up so
// insted 13.04230 use 16.04230
so
CMD:lspdopeng(playerid, params[])
{
//if(!IsACop(playerid)) return SendClientMessage(playerid, COLOR_GRAD2, NOTADMIN);
MoveDynamicObject(LSPDGate, 1544.70557, -1630.98364, 17.04230, 2.0);
return 1;
}
that will move it up


Re: MoveDynamicObject to up - Ilaibens - 11.08.2017

Its moved it up but not what i want like this:
http://ibb.co/enZmPv