Default camera coordinate when joining the server
#1

Does anyone know the exact coordinate for the camera in OnPlayerConnect callback? The one near marina beach viewing Los Santos. I did search for it but couldn't find.
Reply
#2

OnPlayerRequestClass > SetPlayerCameraPos
Reply
#3

Dude, i need the coordinate of default camera position to set the camera while logging in. Reason why i need to set it is because, i have a login attempts system which doesn't show the same camera position after player types an incorrect password.
Reply
#4

Quote:
Originally Posted by Kreatyve
Посмотреть сообщение
Stand on top of the biggest dome
that's on top of the "Government" building
that's right above the tunnel leading to Santa Maria from the LS Airport.

And I got this:
Camera Pos; X: 1093.000000 Y: -2036.000000 Z: 90.000000
Camera LookAt; X: -0.825859 Y: 0.557950 Z: -0.081537

Which is pretty close.
As far as I've tested, that's the closest as you can get, unless you actually use a jetpack and then save the coords etc.. But I doubt that will work
You won't be able to /save, nor use any script to get the cameras' position either, because you're not spawned. ( already tried )

But, you can try using this -> https://sampforum.blast.hk/showthread.php?pid=2362690#pid2362690
Maybe that will.. help you in some ways
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)