Camera
#1

Hello.

I need help.

I have at OnPlayerRequestClass:
SetPlayerPos(playerid, 892.2806,-1639.4067,14.9589);
SetPlayerCameraPos(playerid, 891.95, -1651.78, 15.43);
SetPlayerCameraLookAt(playerid, 892.01, -1646.78, 15.31);


If you spawn, then camera still stays and you can walk, just camera isnt following to player.

How do make it follow?
Reply
#2

Use SetCameraBehindPlayer(playerid) in OnPlayerSpawn. But it should work by itself, you may have some other code somewhere, that blocks it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)