[Problem] CameraLookAt -
IsraelRPP - 11.06.2012
Okey look.
I am doing a tutorial with SetPlayerCameraLookAt. and when the player finishes the tutorial
he spawned to the place I wanted but The camera is not behind he's back as it should be.
I am know that needed to do something with the SetPlayerCameraLookAt in the spawning X,Y,Z
but I dont know what.
Help please.
Thanks.
Re: [Problem] CameraLookAt -
JaKe Elite - 11.06.2012
pawn Код:
SetCameraBehindPlayer(playerid);
Re: [Problem] CameraLookAt -
IsraelRPP - 11.06.2012
Thanks Buddy
Re: [Problem] CameraLookAt -
IsraelRPP - 11.06.2012
Sorry for the Double Post but.
How can I decied the x,y,z of the CameraLookAt to look on the place I want..
Help, Thanks ..
Re: [Problem] CameraLookAt -
Jhero - 11.06.2012
Quote:
Originally Posted by IsraelRPP
Sorry for the Double Post but.
How can I decied the x,y,z of the CameraLookAt to look on the place I want..
Help, Thanks .. 
|
1) Don't double post, it's a rule.
2)
pawn Код:
SetPlayerCameraLookAt(playerid, x, y, z);
Re: [Problem] CameraLookAt -
IsraelRPP - 11.06.2012
Okey sorry.
but i mean I saved the x,y,z but Its showing me something I dont want.
I mean like that. The PD is here and the camera is looking to the preshing square, I dont
know how to swich it to the PD...
Help
Re: [Problem] CameraLookAt -
Jhero - 11.06.2012
Quote:
Originally Posted by IsraelRPP
Okey sorry.
but i mean I saved the x,y,z but Its showing me something I dont want.
I mean like that. The PD is here and the camera is looking to the preshing square, I dont
know how to swich it to the PD...
Help 
|
Try this,
pawn Код:
SetPlayerCameraPos(playerid, x, y, z);
I'm not sure if that would be the fix. But you must use both of the ones I provided for it to work,
For Example.
pawn Код:
SetPlayerCameraLookAt(playerid, x, y, z);
SetPlayerCameraPos(playerid, x, y, z);
^^ They would need to be added together in the designated area... ^^
AW: Re: [Problem] CameraLookAt -
Extremo - 11.06.2012
Quote:
Originally Posted by IsraelRPP
Okey sorry.
but i mean I saved the x,y,z but Its showing me something I dont want.
I mean like that. The PD is here and the camera is looking to the preshing square, I dont
know how to swich it to the PD...
Help 
|
Go there, get the position by typing /save. Go into your documents, gta user files, samp, savedpositions.txt. Open up the file and copy over the location you can see from there.
Re: [Problem] CameraLookAt -
IsraelRPP - 11.06.2012
I am using the same X , Y , Z for the CameraLookAt and for the SetPlayerCameraPos and same for the SetPlayerPos ?.
I done all of this and it showing to me like that :
-Police Station- I saved infront the police.
and the camera showing to me the wall behind me.
AW: Re: [Problem] CameraLookAt -
Extremo - 11.06.2012
Quote:
Originally Posted by IsraelRPP
I am using the same X , Y , Z for the CameraLookAt and for the SetPlayerCameraPos and same for the SetPlayerPos ?.
I done all of this and it showing to me like that :
-Police Station- I saved infront the police.
and the camera showing to me the wall behind me.
|
You should probably set the camera away from the wall before you make the camera face that position:
https://sampwiki.blast.hk/wiki/SetPlayerCameraPos
https://sampwiki.blast.hk/wiki/SetPlayerCameraLookAt