SA-MP Forums Archive
Interpolate 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: Interpolate Camera (/showthread.php?tid=630978)



Interpolate Camera - Flamehaze7 - 21.03.2017

I tried to use the interpolate camera to move my camera while i'm in the login screen but it doesn't want to work

Код:
InterpolateCameraPos(playerid, 2233.7678, 2082.3232, 163.2898, 2215.3149, 2173.4766, 163.2898, 10000, CAMERA_MOVE);
    InterpolateCameraLookAt(playerid, 2253.3149, 2101.3767, 158.2740, 2241.5039, 2177.4595, 158.3741, 10000, CAMERA_MOVE);
When i connect to the server the login screen shows up but the camera still remains watching Santa Maria Beach and not moving where i indicated :/


Re: Interpolate Camera - Pottus - 21.03.2017

Try this dude it helped me a lot.

https://sampforum.blast.hk/showthread.php?tid=330879