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: World boundaries (
/showthread.php?tid=647142)
World boundaries -
Longover - 30.12.2017
Hello!
My
SetPlayerWorldBounds is correct for surround Los Santos?
Код:
SetPlayerWorldBounds(playerid, 1653.5205, 1596.8624, 3182.9893, 47.3192);
Rep + for help!
Re: World boundaries -
Kaperstone - 30.12.2017
Test it?
Re: World boundaries -
Longover - 30.12.2017
Quote:
Originally Posted by Kaperstone
Test it?
|
I'm tested,but not work,please help!
Re: World boundaries -
Ritzy2K - 30.12.2017
This is your function -
Код:
SetPlayerWorldBounds(playerid,Float:x_max,Float:x_min,Float:y_max,Float:y_min);
How are you obtaining your minimum and maximum 2-D coords? You need to go in the extreme northeast, and extreme southwest direction of los santos
Also, this function
won't work if used in OnPlayerConnect
Set it up at OnPlayerSpawn