How to make "moving login screen"? - 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: How to make "moving login screen"? (
/showthread.php?tid=333459)
How to make "moving login screen"? -
Ranama - 11.04.2012
Hello!
I'm pretty new to SAMP Scripting, but i have seen a server that when you logs in, when you should write your password, you'll see the background as you are flying a helicopter around the map.
So i wonder if someone of you know how to script something like this.
Thanks!
Re: How to make "moving login screen"? -
Skribblez - 11.04.2012
On 0.3e-RC2 which is currently on RC6 and still a security update, SA-MP released a new function for cameras which is what you're exactly looking for.
pawn Код:
native InterpolateCameraPos(playerid, Float:FromX, Float:FromY, Float:FromZ, Float:ToX, Float:ToY, Float:ToZ, time, cut = CAMERA_CUT);
native InterpolateCameraLookAt(playerid, Float:FromX, Float:FromY, Float:FromZ, Float:ToX, Float:ToY, Float:ToZ, time, cut = CAMERA_CUT);
native AttachCameraToObject(playerid, objectid);
native AttachCameraToPlayerObject(playerid, playerobjectid);
For more info on this, check out the thread for 0.3e by Kalcor.
https://sampforum.blast.hk/showthread.php?tid=323271
Re: How to make "moving login screen"? -
Ranama - 11.04.2012
Okay thanks for the fast answer
Re: How to make "moving login screen"? -
Skribblez - 11.04.2012
No problem, don't forget to click this

thanks!