28.08.2014, 10:25
Hello.
I got a mind-blowing problem.
I want to set the player camera to look at specific coordinates in Los Santos.
Everything works perfectly if i spawn the player and then set his camera to look at these coordinates.
But problem is that i want to remove hud and the minimap, and as far as i know it can only be done with TogglePlayerSpectating.
So when i add TogglePlayerSpectating at OnPlayerConnect and then set the camera to specific coordinates, the camera set doesnt work, it stays looking at Blueberry bridge, but after server restart it works(thats why it is mind-blowing).
Any solutions for this?
And yea, sorry for bad english.
I got a mind-blowing problem.
I want to set the player camera to look at specific coordinates in Los Santos.
Everything works perfectly if i spawn the player and then set his camera to look at these coordinates.
But problem is that i want to remove hud and the minimap, and as far as i know it can only be done with TogglePlayerSpectating.
So when i add TogglePlayerSpectating at OnPlayerConnect and then set the camera to specific coordinates, the camera set doesnt work, it stays looking at Blueberry bridge, but after server restart it works(thats why it is mind-blowing).
Any solutions for this?
And yea, sorry for bad english.