Login screen
#1

I currently am working on my login screen. For some reason, when I first join the server, the camera does not move and it stays in the default SA:MP location. However, when I type an incorrect password, it will take me to the camera position.


When I join the server:


When I type an incorrect password:


What should I put the cameraposition under so it will show when I first enter the server rather then when I type an incorrect password?
Reply
#2

Can you show the camera's code?
Reply
#3

It's an interpolate.

Код HTML:
	TogglePlayerSpectating(playerid, 1);
	InterpolateCameraPos(playerid, 1494.749877, -1715.429809, 15.321800, 1510.866088, -1718.042114, 16.046100, 3000, 1);
	InterpolateCameraLookAt(playerid, 1495.684814, -1715.078369, 15.271821, 1513.923583, -1715.473999, 16.283460, 3000, 1);
Reply
#4

Set the position of the camera when the dialog is being shown, it should work.
Reply
#5

Quote:
Originally Posted by DarkLored
Посмотреть сообщение
Set the position of the camera when the dialog is being shown, it should work.
It still doesn't work.
Reply
#6

Quote:
Originally Posted by SquirrelLSRP
Посмотреть сообщение
It still doesn't work.
hmm try to put that camera code when the player succsessfully login ?
Reply
#7

Still doesn't work.
Reply
#8

Removed.
Reply
#9

Hey, when the player gets the dialog, use TogglePlayerSpectating, toggle it off / on and see if it works in one of the cases, otherwise use ForcePlayerClassSelection
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)