How to get coords -
Chivava - 12.05.2011
Hello, its been some long time ago i've been doing a coordinates, i can remember the basic ones but not really the full ones..
So.. I wanna know how to get these ones..
SetPlayerPos(i, 1404.699707, -1351.813965, 0.0000);
SetPlayerCameraPos(i, 1404.699707, -1351.813965, 18.349072);
SetPlayerCameraLookAt(i, 1424.194946, -1318.100342, 12.749156);
When i do /save into samp i get a couple of coordinates, but how do i find these ones? As you can see its 3 different ones.
Re: How to get coords -
Snipa - 12.05.2011
SetPlayerPos == /save at the place where the skin should show up.
SetPlayerCameraPos == /save where the camera should be at
SetPlayerCameraLookAt == Same co-ords as SetPlayerPos
Re: How to get coords -
Chivava - 12.05.2011
Example : 288,822.7219,3.4390,1004.1797,99.3876,0,0,0,0,0,0
So SetPlayerPos is 822.7219,3.4390,1004.1797
SetPlayerCameraPos is ..?
I got the others now thanks but what about PlayerCamerapos?
Re: How to get coords -
Snipa - 12.05.2011
Quote:
Originally Posted by Chivava
Example : 288,822.7219,3.4390,1004.1797,99.3876,0,0,0,0,0,0
So SetPlayerPos is 822.7219,3.4390,1004.1797
SetPlayerCameraPos is ..?
I got the others now thanks but what about PlayerCamerapos?
|
it would be where the camera is located.
Re: How to get coords -
Chivava - 12.05.2011
Quote:
Originally Posted by Snipa
it would be where the camera is located.
|
Yes but wich part of the full code is it, for CameraPos?
Re: How to get coords -
Chivava - 13.05.2011
anyone?
Re: How to get coords -
leong124 - 13.05.2011
If you use /save command you'll get a code like this:
pawn Код:
AddPlayerClass(299,494.4434,-75.4983,998.7578,178.1200,0,0,0,0,0,0);
//AddPlayerClass(skinID,x,y,z,Facing angle,weapon0,ammo0,weapon1,ammo1,weapon2,ammo2);
The 3 functions you list only requires the coordinates so x,y,z is what you need.
Re: How to get coords -
Chivava - 13.05.2011
Quote:
Originally Posted by leong124
If you use /save command you'll get a code like this:
pawn Код:
AddPlayerClass(299,494.4434,-75.4983,998.7578,178.1200,0,0,0,0,0,0); //AddPlayerClass(skinID,x,y,z,Facing angle,weapon0,ammo0,weapon1,ammo1,weapon2,ammo2);
The 3 functions you list only requires the coordinates so x,y,z is what you need.
|
Thanks.
Re: How to get coords -
Kaperstone - 13.05.2011
look...
its pretty easy
![Smiley](images/smilies/smile.png)
i didnt use it but i can tell you by seeing XD
SetPlayerPos- is where your player has been...(the man/women was)
SetPlayerCameraPos-is where your screen was(the place/cords where your camera(from where you look on the man) has been)
SetPlayerCameraLookAt-where you want your camera to look at(like when you choosing skin you want the camera to look at somthing else not on the player/skin/man/women so you place the cords of the place you want the camera look on it)
i have bad engine ik lol...
i hope you understand and i helped you
Re: How to get coords -
Chivava - 13.05.2011
Quote:
Originally Posted by xkirill
look...
its pretty easy ![Smiley](images/smilies/smile.png)
i didnt use it but i can tell you by seeing XD
SetPlayerPos- is where your player has been...(the man/women was)
SetPlayerCameraPos-is where your screen was(the place/cords where your camera(from where you look on the man) has been)
SetPlayerCameraLookAt-where you want your camera to look at(like when you choosing skin you want the camera to look at somthing else not on the player/skin/man/women so you place the cords of the place you want the camera look on it)
i have bad engine ik lol...
i hope you understand and i helped you ![Cheesy](images/smilies/biggrin.png)
|
I found out of it, but yeah thanks anyways.