SA-MP Forums Archive
Create world boundaries ? - 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: Create world boundaries ? (/showthread.php?tid=462323)



Create world boundaries ? - hassantariq73 - 06.09.2013

Hello I want people not to leave LV as its LVDM.
So I want to know how to create LV world bounds?
I need a full and well explained TUT please.


Re: Create world boundaries ? - kaisersouse - 06.09.2013

Wiki is your friend

wiki.sa-mp.com/wiki/SetPlayerWorldBounds


Re: Create world boundaries ? - hassantariq73 - 06.09.2013

Quote:
Originally Posted by kaisersouse
View Post
Wiki is your friend

wiki.sa-mp.com/wiki/SetPlayerWorldBounds
Yep I saw it but couldnt understand.


Re: Create world boundaries ? - Tomer!.$ - 06.09.2013

SetPlayerWorldBounds
Unfortunately, I couldn't find a proper tutorial, just define the x min & x max, and the y min & y max.
For example, go to the most western spot of LV (your boundary) and save the position (/save), do the same with the most eastern spot of LV.
There you got yourself x min & x max.
Same goes for y min & y max.