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(playerid, 2586.023437, -2332.213378, 14.466180, 2582.733154, -2219.020019, 2.786534, 5000);
InterpolateCameraLookAt(playerid, 2585.991210, -2327.341064, 13.344215, 2582.645751, -2214.032226, 2.448162, 3000);
Re: Camera -
PowerMwK - 20.03.2018
PHP код:
InterpolateCameraPos(playerid, 2586.023437, -2332.213378, 14.466180, 2582.733154, -2219.020019, 2.786534, 5000);
//Change these 5000 for other, example 10000= 10 seconds, etc
InterpolateCameraLookAt(playerid, 2585.991210, -2327.341064, 13.344215, 2582.645751, -2214.032226, 2.448162, 3000);
or see it
https://sampwiki.blast.hk/wiki/SetTimer