Get the maximum X,Y,Z?
#1

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

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

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

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

Quote:
Originally Posted by iggy1
Посмотреть сообщение
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
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.
Reply
#6

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

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

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

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)
Reply
#10

Do not use the Z co-ordinate, just check whether the player's X, Y axis are within the area's X, Y axis.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)