Camera not rendering textures
#1

Hey my camera looks like this:

Here's my code:
pawn Код:
TogglePlayerSpectating(playerid, true);
SetPlayerCameraPos(playerid, 2262.8501, -101.9333, 36.2538);
SetPlayerCameraLookAt(playerid, 2262.8589, -100.9271, 35.9102);
TogglePlayerSpectating(playerid, false);
What's the problem here?
Reply
#2

Set the player position nearby if you want that.
Reply
#3

Quote:
Originally Posted by CONTROLA
Посмотреть сообщение
Set the player position nearby if you want that.
I thought TogglePlayerSpectating follows the camera and renders it that way or am I wrong?
Reply
#4

Quote:
Originally Posted by arko123
Посмотреть сообщение
I thought TogglePlayerSpectating follows the camera and renders it that way or am I wrong?
Obviously you're wrong. Try setting the player position to said coordinates.
Reply
#5

Because you're basically far away from this location, only your camera pos is right here, use SetPlayerPos and put yourself nearby.

Код:
This forum requires that you wait 240 seconds between posts. Please try again in 72 seconds.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)