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



Camera - Calinut200 - 20.03.2018

Hello, I want to make after the spawn the player to watch the cinema camera trajectory for 5 seconds and after player can move :P.
I set the coordinates, but how only for 5 secounds, i put forever to watch )


PHP код:
InterpolateCameraPos(playerid2586.023437, -2332.21337814.4661802582.733154, -2219.0200192.7865345000);
InterpolateCameraLookAt(playerid2585.991210, -2327.34106413.3442152582.645751, -2214.0322262.4481623000); 



Re: Camera - PowerMwK - 20.03.2018

PHP код:
InterpolateCameraPos(playerid2586.023437, -2332.21337814.4661802582.733154, -2219.0200192.7865345000); 
//Change these 5000 for other, example 10000= 10 seconds, etc
InterpolateCameraLookAt(playerid2585.991210, -2327.34106413.3442152582.645751, -2214.0322262.4481623000); 
or see it
https://sampwiki.blast.hk/wiki/SetTimer