How to get coords
#1

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.
Reply
#2

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
Reply
#3

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?
Reply
#4

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.
Reply
#5

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?
Reply
#6

anyone?
Reply
#7

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.
Reply
#8

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.
Reply
#9

look...
its pretty easy
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
Reply
#10

Quote:
Originally Posted by xkirill
Посмотреть сообщение
look...
its pretty easy
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
I found out of it, but yeah thanks anyways.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)