function to move camera - 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: function to move camera (
/showthread.php?tid=640839)
function to move camera -
Tirael - 08.09.2017
I have created the following code
pawn Код:
VehiculosInfo[vehicleid][cObjetoToy][0] = CreateDynamicObject(VehiculosInfo[vehicleid][cToy][0], VehiculosInfo[vehicleid][cPosToy][0],VehiculosInfo[vehicleid][cPosToy][1],VehiculosInfo[vehicleid][cPosToy][2],VehiculosInfo[vehicleid][cPosToy][3],VehiculosInfo[vehicleid][cPosToy][4],VehiculosInfo[vehicleid][cPosToy][5], 0, 0);
EditDynamicObject(playerid, VehiculosInfo[vehicleid][cObjetoToy][0]);
The problem is that I can not move the camera to better visualize the object. I use the streamers plugin V2.9.1.
Am I missing a function?
+ Rep to whom help me.
Re: function to move camera -
MP2 - 08.09.2017
Hold the spacebar and then move your mouse, if you're referring to moving the camera as the player.
This is noted on the wiki page:
https://sampwiki.blast.hk/wiki/EditObject
Respuesta: function to move camera -
Tirael - 08.09.2017
Solved. Thank you MP2.
+rep.