Setting 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: Setting World Boundaries (
/showthread.php?tid=605507)
Setting World Boundaries -
Faqahat - 20.04.2016
I am having trouble Setting world Boundaries Correctly
here are the co-ordinates/area where i exactly want to put the boundaries
ive tried setting in different ways. But didnt work.
Re: Setting World Boundaries -
[XST]O_x - 20.04.2016
Did you use this?
https://sampwiki.blast.hk/wiki/SetPlayerWorldBounds
What happens. What did you try to do?
Re: Setting World Boundaries -
Faqahat - 20.04.2016
Quote:
Originally Posted by [XST]O_x
|
I know, The problem is whle setting the cor ordinate, in what sequence should i put the co ordinate. ive tried many possible ways and orders they dont set the bounds properly.
PHP код:
SetPlayerWorldBounds(playerid, 106.5039, 296.5491,1329.9860, 1488.4607);
like this didnt work either
Re: Setting World Boundaries -
[XST]O_x - 20.04.2016
Read the syntax.
SetPlayerWorldBounds(playerid,Float:
x_max,Float: x_min,Float: y_max,Float: y_min);
The left values are the maximal values, and the right ones are the minimum.
SetPlayerWorldBounds(playerid, 296.5491, 106.5039, 1488.4607, 1329.9860);
Re: Setting World Boundaries -
Faqahat - 20.04.2016
Quote:
Originally Posted by [XST]O_x
Read the syntax.
SetPlayerWorldBounds(playerid,Float: x_max,Float: x_min,Float: y_max,Float: y_min);
The left values are the maximal values, and the right ones are the minimum.
SetPlayerWorldBounds(playerid, 296.5491, 106.5039, 1488.4607, 1329.9860);
|
Thank you =)