SA-MP Forums Archive
Camera Positioning not working after Connecting. - 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: Camera Positioning not working after Connecting. (/showthread.php?tid=433331)



Camera Positioning not working after Connecting. - EliteApple - 27.04.2013

When a player connects and the register/login dialog comes up, it should show another location, such as Idlewood, instead of the default one over Marina.


Do not post saying use SetPlayerCameraPos and CameraLookAt as that's what I am /USING/. I'm trying to get it to WORK. As it does not work for some reason.


Re: Camera Positioning not working after Connecting. - JaKe Elite - 27.04.2013

You cannot set these inside OnPlayerConnect.
Try toggleplayerspectating then SetPlayerCameraPos and CameraLookAt OnPlayerRequestClass.

then when player registered/login disable it make it spawn or anything what u want.
But don't forget to turn off toggleplayerspectating


Re: Camera Positioning not working after Connecting. - EliteApple - 27.04.2013

That didn't work. I used TogglePlayerSpectating under OnPlayerConnect, and under OnPlayerRequestClass I set the CameraPos and LookAt, same results of the Marina/Blueberry.


Re: Camera Positioning not working after Connecting. - Onfroi - 27.04.2013

[INC]SetPlayerCamera by MP2

It worked perfectly fine for me.