Get the maximum X,Y,Z? -
Face9000 - 30.05.2012
Hello,i use a zone system that requires to get the min X,Y,Z of the zone,and at this point i can use /save.
The problem is at,after the min X,Y,Z it requires the MAX X,Y,Z.
Is there any way to get it?
I tried using /save like the MIN but sometimes the location doesn't show.
Thanks.
Re: Get the maximum X,Y,Z? -
Jonny5 - 30.05.2012
you have to go to the min xyz in game and type
/save //min
then go to the max xyz in game and type
/save //max
Re: Get the maximum X,Y,Z? -
Face9000 - 30.05.2012
Quote:
Originally Posted by Jonny5
you have to go to the min xyz in game and type
/save //min
then go to the max xyz in game and type
/save //max
|
How i can know where is the max xyz?
I know where is the min,just wanna know the max.
Re: Get the maximum X,Y,Z? -
iggy1 - 30.05.2012
What exactly are you trying to do? Are you trying to create an area around a player or what do you mean?
You may be able to use this.
http://forum.sa-mp.com/showthread.ph...ehicle+plotter
Re: Get the maximum X,Y,Z? -
Face9000 - 30.05.2012
Quote:
Originally Posted by iggy1
|
I use a zone system and i've added some new custom zones.
They require min XYZ and max XYZ,but i dont know where i can get the MAX values.
That software doesn't help me,it gives me only the MIN xyz.
Re: Get the maximum X,Y,Z? -
iggy1 - 30.05.2012
You can create gangzones/worldbounds with that software, they are the same as areas.
Ryders gangzone creator would be an alternative.
EDIT: I'm trying to find a diagram for you.
Re: Get the maximum X,Y,Z? -
Memoryz - 30.05.2012
Are you using Incognito's Streamer Zone system?
If so, send the lines of code you are using so we can take a look at it.
Re: Get the maximum X,Y,Z? -
Face9000 - 30.05.2012
Quote:
Originally Posted by Memoryz
Are you using Incognito's Streamer Zone system?
If so, send the lines of code you are using so we can take a look at it.
|
Nope,im using this:
https://sampforum.blast.hk/showthread.php?tid=161741
But edited a bit.
Re: Get the maximum X,Y,Z? -
iggy1 - 31.05.2012
http://en.wikipedia.org/wiki/Cartesi...rdinate_system
If you look at the diagrams on that page you should understand better what minX maxX is, then you wouldn't need to ask how to find them.
The horizontal line represents x. The minimum number ie, the number furthest to the left is the minX (-3 below). The highest number on the horizontal line is the maxX (3 below).
It's the exact same thing for the Y axis.
(you can ignore the colored text in this case)
Re: Get the maximum X,Y,Z? -
Lorenc_ - 31.05.2012
Do not use the Z co-ordinate, just check whether the player's X, Y axis are within the area's X, Y axis.