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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SetPlayerWorldBounds (
/showthread.php?tid=111094)
SetPlayerWorldBounds -
BP13 - 29.11.2009
What is the default world bounds? > or is it possible to turn it off and make the water eventually loop to the opposite site.
Re: SetPlayerWorldBounds -
miokie - 29.11.2009
Quote:
Originally Posted by [SU
BP13 ]
What is the default world bounds? > or is it possible to turn it off and make the water eventually loop to the opposite site.
|
You could do something like, IsPlayerInArea and make area check boxs around the map.
Just as you go out of view of a island, you get teleported to near the opposite box...
If you get what i mean?
Re: SetPlayerWorldBounds -
BP13 - 29.11.2009
Yea I do but I just need to know the default world bounds.
Re: SetPlayerWorldBounds -
miokie - 29.11.2009
Quote:
Originally Posted by [SU
BP13 ]
Yea I do but I just need to know the default world bounds.
|
I dont think there are ones, From what i've seen the sea is endless...
Re: SetPlayerWorldBounds -
BP13 - 29.11.2009
Quote:
Originally Posted by Miokie*
Quote:
Originally Posted by [SU
BP13 ]
Yea I do but I just need to know the default world bounds.
|
I dont think there are ones, From what i've seen the sea is endless...
|
well I have no setworldbounds in my scripts anywhere and if you go out for a long time it will say Please Stay Within The World Bounds.
- Ill just use this SetWorldBounds( 9999.9, -9999.9, 9999.9, -9999.9 );
Re: SetPlayerWorldBounds -
miokie - 29.11.2009
Quote:
Originally Posted by [SU
BP13 ]
Quote:
Originally Posted by Miokie*
Quote:
Originally Posted by [SU
BP13 ]
Yea I do but I just need to know the default world bounds.
|
I dont think there are ones, From what i've seen the sea is endless...
|
well I have no setworldbounds in my scripts anywhere and if you go out for a long time it will say Please Stay Within The World Bounds.
- Ill just use this SetWorldBounds( 9999.9, -9999.9, 9999.9, -9999.9 );
|
Oh, I was never aware of those world bounds... And Yeah, I think that would be the right Bounds..
Re: SetPlayerWorldBounds -
yezizhu - 29.11.2009
deafult world bounds is set by gta, not samp?
Re: SetPlayerWorldBounds -
lolumadd - 29.11.2009
I think its:
0.0, 0.0, 0.0
or
-9999.9999,-9999.9999,-9999.9999
Re: SetPlayerWorldBounds -
miokie - 29.11.2009
Quote:
Originally Posted by lolumadd [cod5server.tk
]
I think its:
0.0, 0.0, 0.0
or
-9999.9999,-9999.9999,-9999.9999
|
The 0.0 one is center of the map which is somewhere in the countryside.
Re: SetPlayerWorldBounds -
Backwardsman97 - 29.11.2009
I thought that
Код:
20000.0000,-20000.0000,20000.0000,-20000.0000
was the default world bounds. And making it loop and put you on the other side would be easy.