Map not loading properly after using SetCameraPos and LookAt - 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: Map not loading properly after using SetCameraPos and LookAt (
/showthread.php?tid=639235)
Map not loading properly after using SetCameraPos and LookAt -
Detoria - 13.08.2017
Just started scripting a few weeks ago again after a long stop and I'm running into a problem that never happened before.
Whenever I use SetPlayerCameraPos and SetPlayerCameraLookAt, the map simply doesn't load properly, as if the player is far away.
Here's the screenshots:
The problem is solved by using InterpolateCameraPos and LookAt instead and by spawning, but I really want to stick with what I am currently using now.
Re: Map not loading properly after using SetCameraPos and LookAt -
pabloalber84ban - 13.08.2017
You are using streamer?
Re: Map not loading properly after using SetCameraPos and LookAt -
Detoria - 13.08.2017
I tried using it, nothing happened. (never scripted something that needed streamer to work, so I just "plugged" it on the server and nothing changed)
Re: Map not loading properly after using SetCameraPos and LookAt -
FuNkYTheGreat - 13.08.2017
When you are setting the player camera, also set his position by using
so that it'll get load, and don't forget to set the player's virtual world as well, so that other wont see.