How to make "moving login screen"?
#1

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!
Reply
#2

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
Reply
#3

Okay thanks for the fast answer
Reply
#4

No problem, don't forget to click this thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)