SA-MP Forums Archive
[Help]World Bound - 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: [Help]World Bound (/showthread.php?tid=105395)



[Help]World Bound - tiwk - 29.10.2009

Help please

I dont know create one WorlBound Infinity

SetPlayerWorldBounds(playerid, INFINITY, -INFINITY, INFINITY, -INFINITY);}

C:\Users\****\*****\GTA SERVER\gamemodes\*****.pwn(563) : error 017: undefined symbol "INFINITY"


Re: [Help]World Bound - Peter_Corneile - 29.10.2009

Quote:
Originally Posted by tiwk
Help please

I dont know create one WorlBound Infinity

SetPlayerWorldBounds(playerid, INFINITY, -INFINITY, INFINITY, -INFINITY);}

C:\Users\****\*****\GTA SERVER\gamemodes\*****.pwn(563) : error 017: undefined symbol "INFINITY"
If you want to set the world boundaries to infinity , then dont use SetPlayerWorldBounds or anything .. It is already defined to infinity itself


Re: [Help]World Bound - dice7 - 29.10.2009

SetPlayerWorldBounds(playerid, 99999.9, -99999.9,99999.9, -99999.9);


Re: [Help]World Bound - Peter_Corneile - 29.10.2009

Quote:
Originally Posted by dice7
SetPlayerWorldBounds(playerid, 99999.9, -99999.9,99999.9, -99999.9);
Whats the need ?


Re: [Help]World Bound - dice7 - 29.10.2009

Because if you already set the bounds then you can't just unset them


Re: [Help]World Bound - Peter_Corneile - 29.10.2009

Quote:
Originally Posted by dice7
Because if you already set the bounds then you can't just unset them
Yes but he didnt set any world bounds (he atleast didnt mention) .. And by default the bounds are already set to infinity