CameraPos/CameraLookAt +REP -
StarPeens - 05.03.2015
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
Re: CameraPos/CameraLookAt +REP -
Primard - 05.03.2015
Please put what they said of the error: compiling errors.
Re: CameraPos/CameraLookAt +REP -
De4dpOol - 05.03.2015
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?
Re: CameraPos/CameraLookAt +REP -
Ritzy2K - 05.03.2015
Deadpool got it first..
the main issue is...ur cameralookat and ur playerpos are different make em same
Re: CameraPos/CameraLookAt +REP -
StarPeens - 05.03.2015
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?
|
AW: CameraPos/CameraLookAt +REP -
Kaliber - 05.03.2015
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
Re: AW: CameraPos/CameraLookAt +REP -
StarPeens - 05.03.2015
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
AW: Re: AW: CameraPos/CameraLookAt +REP -
Kaliber - 05.03.2015
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?
Re: CameraPos/CameraLookAt +REP -
wahyumahadir - 05.03.2015
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);