SA-MP Forums Archive
I don't get it - 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: I don't get it (/showthread.php?tid=328785)



I don't get it - Reklez - 26.03.2012

I don't get it why when i'm inside los santos, world bounds keep me pulling outside of Los Santos.
i use Ryder's Gangzone maker to get the world bounds minx miny maxx maxy. now the problem
is when i'm inside the los santos world bounds keep me pulling out.

pawn Код:
//Code inside OnPlayerSpawn

SetPlayerWorldBounds(playerid, -59.222167, -2937.005859, 3028.777832, -505.005737);



Re: I don't get it - Reklez - 26.03.2012

Anyone?


Re: I don't get it - [HiC]TheKiller - 26.03.2012

When I quickly measured the world boundaries for Los Santos, I got the following:

pawn Код:
SetPlayerWorldBounds(playerid, 2931.147, 116.7788, -630.6053, -2814.368);
Give that a go.


Re: I don't get it - Reklez - 26.03.2012

Quote:
Originally Posted by [HiC]TheKiller
Посмотреть сообщение
When I quickly measured the world boundaries for Los Santos, I got the following:

pawn Код:
SetPlayerWorldBounds(playerid, 2931.147, 116.7788, -630.6053, -2814.368);
Give that a go.
Thanks it work now rep+