SetCameraPos not loading
#1

Hello, Basically I've been trying to make a server... And.. I used:
SetPlayerCameraPos(playerid, 1351.9838, 467.8283, 20.0923);
SetPlayerCameraLookAt(playerid, 1352.9872, 467.8386, 20.0721);
That when the player joins the server, and when i tried it out, it was so blurry in the background you could barely see anything.. Help?
Reply
#2

Is your player spawned or not when the camera is set? Try the opposite and see what happens.
Reply
#3

He ain't meant to be spawned because he is registering, like typeing in his password and stuff, and it is meant to point the camera towards those positions.
Reply
#4

It is probably because the area you set the camera at is not streamed in for the player!
Reply
#5

So How do i fix it? D: Doyou know? :P
Reply
#6

Try other coords, if it worked then the problem must be in your coords
Reply
#7

Try setting the player behind the camera and see what happens.

I don't think this happens during spectate mode, so you might want to try that aswell.
pawn Код:
TogglePlayerSpectating(playerid, true);
// camera stuff here
take a look at this:
https://sampforum.blast.hk/showthread.php?pid=2362690#pid2362690
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)