SA-MP Forums Archive
World Bounds help - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: World Bounds help (/showthread.php?tid=91554)



World Bounds help - GforceNL - 15.08.2009

Hi,
How can i make a world bounds?
its for my TDM server and i dont want People to leave the DM area


Re: World Bounds help - ilikepie2221 - 15.08.2009

https://sampwiki.blast.hk/wiki/SetPlayerWorldBounds

There you go. Just put this under whatever callback you want, and figure out the x/y coords.


Re: World Bounds help - Dark_Kostas - 15.08.2009

And if you want to disable it put this
pawn Код:
SetPlayerWorldBounds(playerid,20000.0000,-20000.0000,20000.0000,-20000.0000);