SA-MP Forums Archive
min x, min y, max x, , max y - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: min x, min y, max x, , max y (/showthread.php?tid=413264)



min x, min y, max x, , max y - nor15 - 04.02.2013

DELETE!!


Re: min x, min y, max x, , max y - Handjobs - 04.02.2013

min x, min y, min z, max x, max y ,max z
2050.4905, 1320.7069, 10.6719, 2050.4905, 1320.7069, 10.6719
-20 -20 -20 +20 +20 +20

min x, min y, max x, max y
2050.4905, 1320.7069, 2050.4905, 1320.7069
-20 -20 +20 +20


Re: min x, min y, max x, , max y - nor15 - 04.02.2013

Quote:
Originally Posted by Handjobs
Посмотреть сообщение
2050.4905, 1320.7069, 10.6719, 2050.4905, 1320.7069, 10.6719
-20 -20 -20 +20 +20 +20
But i only need 4 so i must do -20 -20 ,, +20 +20 ?!

Edit: But i got
PHP код:
new Float:checkCoords[MAX_POINTS][4] = {
{-
1623.6704,710.2758,-1595.5138,726.3750
and the another is
PHP код:
new Float:checkpoints[MAX_POINTS][4] = {
{-
1605.5288,712.4097,13.8714,3.0



Re: min x, min y, max x, , max y - Handjobs - 04.02.2013

2050.4905,1320.7069,2050.4905,1320.7069,
min x, min y, max x, max y
of 20
2030.4905, 1300.7069, 2070.4905, 1340.7069


Re: min x, min y, max x, , max y - Handjobs - 04.02.2013

PHP код:
{-1605.5288,712.4097,13.8714,3.0
PHP код:
{-1625.5288,692.4097,-1585.5288,732.4097



Re: min x, min y, max x, , max y - nor15 - 04.02.2013

Quote:
Originally Posted by Handjobs
Посмотреть сообщение
PHP код:
{-1605.5288,712.4097,13.8714,3.0
PHP код:
{-1625.5288,692.4097,-1585.5288,732.4097
The Checkpoints -20 ? or The Checkcoords -20 ?


Re: min x, min y, max x, , max y - Sergei - 04.02.2013

Eventually, you need to store coordinates of two points (bottom left and top right), to be able to get what you need.


Re: min x, min y, max x, , max y - nor15 - 04.02.2013

So how can i get them In Game or by debug ,or anything , coz -20 and +20 those aren't working


Re: min x, min y, max x, , max y - nor15 - 04.02.2013

Can any one help ?