Question about SetPlayerWorldBounds() - 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: Question about SetPlayerWorldBounds() (
/showthread.php?tid=373820)
Question about SetPlayerWorldBounds() -
[OFK]Zuckerman - 31.08.2012
Hi!
I have a very simply question.
The SetPlayerWorldBounds() function's minx, miny, maxx, maxy parameters should be given like GangZones coords, OR this 4 parameters are
the length of the boundarie's zone. I ask it because the figure on wiki is not really unequivocal (for me).
Код:
/*
ymax
|----------|
| |
xmin | | xmax
| |
|----------|
ymin
*/
Thank you,
Zuckerman
Re: Question about SetPlayerWorldBounds() -
XGh0stz - 31.08.2012
Why not just give it a quick test?
Set a zone or whatever and see where the limits are...
If they aren't what you expected, then just switch around the x's & y's until its right
I personally believe its set like a gang zone, but not 100% positive