Question about boundaries and properties - 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 boundaries and properties (
/showthread.php?tid=288156)
Question about boundaries and properties -
Alphos - 06.10.2011
Hello,
I've scripted boundaries on my server yesterday, but when I script teleports to interiors for houses, you get teleported out of the border, and thus receive the message that you must stay within the boundaries. Doesn't matter what dimension I script the interiors in, it just keeps saying that. Is there any way to script it so that the interiors wont interfere with the borders?
Re: Question about boundaries and properties -
Alphos - 06.10.2011
Anyone?
Re: Question about boundaries and properties -
knackworst - 06.10.2011
Use setplayerworldbounds(playerid, 20000.0000, -20000.0000, 20000.0000, -20000.0000)
At the teleport to interior command
This will reeset the bounds