SA-MP Forums Archive
How can i change the login image? - 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 can i change the login image? (/showthread.php?tid=342169)



How can i change the login image? - Evation - 13.05.2012

How do i change my login image?
when my login box comes up behind that i want it a different image, its currently the beach thing.


Re: How can i change the login image? - Deal-or-die - 13.05.2012

You need to get the cords from where you want the camera position and where the camera is facing. then add them under OnPlayerConnect I believe.

Example:
pawn Код:
public OnPlayerConnect(playerid)
{
    SetPlayerCameraPos(playerid, 1214.9135,-798.0656,96.7485);
    SetPlayerCameraLookAt(playerid, 4322.3259,-987.3196,85.3336);
}



Re: How can i change the login image? - ReneG - 13.05.2012

You also have to put the player in spectator mode, so the objects stream in by camera's position, and then use SetPlayerCamPos/LookAt.