CameraPos/CameraLookAt +REP
#1

pawn Код:
SetPlayerPos(playerid, 1212.777,-34.528,1002.454);
    SetPlayerInterior(playerid, 3);
    SetPlayerCameraPos(playerid, 1212.777,-34.528,1002.454);
    SetPlayerCameraLookAt(playerid, 1209.935,-34.981,1001.484);
you could tell me where is the error? the camera correctly to turn this is where the skins, but I do not see them, + Rep
Reply
#2

Please put what they said of the error: compiling errors.
Reply
#3

pawn Код:
SetPlayerCameraPos(playerid, 1212.777,-34.528,1002.454);
You are setting the camera to the player's position. I think its the reason you are unable to see skins. Try a different position and use SetPlayerCameraLookAt(playerid, 1212.777,-34.528,1002.454); to look at your skin. PS is the camera is correctly positioned but the skins are not visible?
Reply
#4

Deadpool got it first.. the main issue is...ur cameralookat and ur playerpos are different make em same
Reply
#5

Quote:
Originally Posted by De4dpOol
Посмотреть сообщение
pawn Код:
SetPlayerCameraPos(playerid, 1212.777,-34.528,1002.454);
You are setting the camera to the player's position. I think its the reason you are unable to see skins. Try a different position and use SetPlayerCameraLookAt(playerid, 1212.777,-34.528,1002.454); to look at your skin. PS is the camera is correctly positioned but the skins are not visible?
Reply
#6

You must do sth like this:

Код:
SetPlayerPos(playerid, 1212.777,-34.528,1002.454);
SetPlayerInterior(playerid, 3);
SetPlayerCameraPos(playerid, 1209.935,-34.981,1001.484);
SetPlayerCameraLookAt(playerid, 1212.777,-34.528,1002.454);
Greekz
Reply
#7

Quote:
Originally Posted by Kaliber
Посмотреть сообщение
You must do sth like this:

Код:
SetPlayerPos(playerid, 1212.777,-34.528,1002.454);
SetPlayerInterior(playerid, 3);
SetPlayerCameraPos(playerid, 1209.935,-34.981,1001.484);
SetPlayerCameraLookAt(playerid, 1212.777,-34.528,1002.454);
Greekz
now my skin is flying over the site, lol
Reply
#8

Quote:
Originally Posted by StarPeens
Посмотреть сообщение
now my skin is flying over the site, lol
Sorry..i cant check these coords, i am just guessing xD

Код:
SetPlayerPos(playerid, 1212.777,-34.528,1002.454);
SetPlayerInterior(playerid, 3);
SetPlayerCameraPos(playerid, 1212.777,-38.528,1006.454);
SetPlayerCameraLookAt(playerid, 1212.777,-34.528,1002.454);
What happens if you do this?
Reply
#9

Try it

Код:
		SetPlayerInterior(playerid,3);
		SetPlayerPos(playerid,-2673.8381,1399.7424,918.3516);
		SetPlayerFacingAngle(playerid,181.0);
    	SetPlayerCameraPos(playerid,-2673.2776,1394.3859,918.3516);
		SetPlayerCameraLookAt(playerid,-2673.8381,1399.7424,918.3516);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)