#1

Hello sa-mp'ers,

I would like to know what do coordinate "X" - "Y" - "Z" stands for?

like if I made:

pawn Код:
SetPlayerPos(playerid, X +5, Y, Z);
pawn Код:
SetPlayerPos(playerid, X , Y +5, Z);
pawn Код:
SetPlayerPos(playerid, X , Y, Z+5);
just examples^^

What would happen to the player?,
Reply
#2

X is from east to west. Y from north to south. And Z represents the height.
Reply
#3

According with the above poster. Your X+5 will teleport your player to the X coordinate (there should be a declarated variable with the X position) and adds 5 to the X value. For example the X axe is 2324.6789 will add 5 to the number 4.
Reply
#4

An image explains more than 1000 words. Simply, it's a three dimensional concept; width (x), height (y) and depth (z).



Except the reference point is the center of the map.
Reply
#5

Coordinates 0,0,0 is just beneath the ground in blueberry, the x and y coordinates (on land) range from about -2500 to 2500.
Reply
#6

alright thanks for the info all!
Reply
#7

Quote:
Originally Posted by ikkentim
Посмотреть сообщение
Coordinates 0,0,0 is just beneath the ground in blueberry, the x and y coordinates (on land) range from about -2500 to 2500.
I'm pretty sure that in game is from -3000 to 3000
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)