How to use SetPlayerCameraPos and SetPlayerCameraLookAt
#5

Quote:
Originally Posted by UFF
Посмотреть сообщение
that's just an example code.

Actually the code should be like this
Код:
SetPlayerPos(playerid, -1431.4838,  1580.5219, 1055.7191); // Player's Position (To set player position before camera)
SetPlayerCameraPos(playerid, -1437.9672, 1575.3422, 1057.6042); // The Camera Position
SetPlayerCameraLookAt(playerid, -1431.4838, 1580.5219, 1055.7191); // Set this as Player's position so that the camera will look at the player's position.
It shows me like this when i put the coords as you said
https://i.imgur.com/n5xRSR0.png
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)