Getting Float:minxx/y/z and Float:maxx/y/z - 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: Getting Float:minxx/y/z and Float:maxx/y/z (
/showthread.php?tid=332430)
Getting Float:minxx/y/z and Float:maxx/y/z -
Reklez - 08.04.2012
How can i get the minxx/y/z and maxx/y/z position?
NOTE: minxx/y/z and maxx/y/z is use for gangzone/world bounds not for setting players pos.
Re: Getting Float:minxx/y/z and Float:maxx/y/z -
Admigo - 08.04.2012
For what u need it if i can ask?
Re: Getting Float:minxx/y/z and Float:maxx/y/z -
Reklez - 08.04.2012
Because i want to make a moving gangzone or world bounds every 1 minute
just need the function of getting the Float:minx/y/z maxx/y/z. i will make the 1 minute timer myself.
Re: Getting Float:minxx/y/z and Float:maxx/y/z -
Admigo - 08.04.2012
I think this will help you
https://sampforum.blast.hk/showthread.php?tid=279647
Re: Getting Float:minxx/y/z and Float:maxx/y/z -
Reklez - 08.04.2012
lol, i mean how to get the position of Float:minx/y/z maxx/y/z not how to create gangzone.
Re: Getting Float:minxx/y/z and Float:maxx/y/z -
RicaNiel - 08.04.2012
Do you mean the coordenates on the map?
Re: Getting Float:minxx/y/z and Float:maxx/y/z -
Reklez - 08.04.2012
Yes something like this
pawn Код:
------------
| |
| |
| |
| |
------------
Re: Getting Float:minxx/y/z and Float:maxx/y/z -
Reklez - 08.04.2012
anyone?
Re: Getting Float:minxx/y/z and Float:maxx/y/z -
Cjgogo - 08.04.2012
Look and read the note also
:
https://sampwiki.blast.hk/wiki/SetPlayerWorldBounds
Re: Getting Float:minxx/y/z and Float:maxx/y/z -
MP2 - 08.04.2012
You need only save two coordinates, two opposite corners.
Save the top-right (north-east) corner and the bottom-left (south-west) corners.
North-east will be maxy and maxx, and the south-west corner will be minx and miny.