Camera not rendering textures - 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: Camera not rendering textures (
/showthread.php?tid=473182)
Camera not rendering textures -
arko123 - 01.11.2013
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?
Re: Camera not rendering textures -
CONTROLA - 01.11.2013
Set the player position nearby if you want that.
Re: Camera not rendering textures -
arko123 - 01.11.2013
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?
Re: Camera not rendering textures -
SchurmanCQC - 01.11.2013
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.
Re: Camera not rendering textures -
Beckett - 01.11.2013
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.