[HELP/REP+] Changing LS view point at LV - 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: [HELP/REP+] Changing LS view point at LV (
/showthread.php?tid=541995)
[HELP/REP+] Changing LS view point at LV -
SupaVZ - 16.10.2014
Hello,
I put this under OnPlayerConnect
SetPlayerCameraPos(playerid,1930.5847, 993.2450, 158.1793);
SetPlayerCameraLookAt(playerid,1930.5847, 993.2450, 158.1793);
And the LV View isnt working
Re: [HELP/REP+] Changing LS view point at LV -
Threshold - 16.10.2014
What you need to do is set 'TogglePlayerSpectating' to true. Objects are only streamed when the player is within close vicinity or when they are in spectating mode.
Note that toggling 'spectating' to true will disable the use of the class selection arrows. If you want to avoid this, I would recommend you set your player's position NEAR the camera position, but do not have them showing on the screen. (Place the player behind the camera for the best effect)
Links:
https://sampwiki.blast.hk/wiki/TogglePlayerSpectating
https://sampwiki.blast.hk/wiki/SetPlayerPos
EDIT: I just realised that your SetCameraPos and SetCameraLookAt coordinates are exactly the same. Your SetCameraLookAt needs to be the coordinates of the point you want the camera to face...
Re: [HELP/REP+] Changing LS view point at LV -
SupaVZ - 16.10.2014
Since you're always online in sa-mp forum, get on skype you noob. its me Chuck