Setting World Boundaries
#1

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.
Reply
#2

Did you use this?
https://sampwiki.blast.hk/wiki/SetPlayerWorldBounds
What happens. What did you try to do?
Reply
#3

Quote:
Originally Posted by [XST]O_x
Посмотреть сообщение
Did you use this?
https://sampwiki.blast.hk/wiki/SetPlayerWorldBounds
What happens. What did you try to do?
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(playerid106.5039296.5491,1329.98601488.4607); 
like this didnt work either
Reply
#4

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);
Reply
#5

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 =)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)