[HELP/REP+] Changing LS view point at LV
#1

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
Reply
#2

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...
Reply
#3

Since you're always online in sa-mp forum, get on skype you noob. its me Chuck
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)