world bounds ? how to create ?
#1

pawn Код:
651.2563,1822.0771,5.4688,355 // north ymax.
742.0555,1571.6013,8.7897 // xmax east
130.7141,1696.3623,17.6406// xmin west
250.7659,1211.3595,15.0886// ymin south
above are the coords of different sides of the map for bounds.

my question is that how to put them in this function? As I have x,y,z coords.

pawn Код:
SetPlayerWorldBounds(playerid,Float:x_max,Float:x_min,Float:y_max,Float:y_min);
Thanks in Advance
Reply
#2

pawn Код:
SetPlayerWorldBounds(playerid,742.0555,1571.6013,8.7897,130.7141,1696.3623,17.6406651.2563,1822.0771,5.4688,355,250.7659,1211.3595,15.0886);
Uh, if those comments for your coords are correct, then it would look like that, i guess.
By the way, you can use "Xtreme Vehicle Plotter" to create World Bounds, Gang Zones etc. faster and easier!
Reply
#3


(North)
ymax
|----------|
| |
(West) xmin | | xmax (East)
| |
|----------|
ymin
(South)
Reply
#4

Quote:
Originally Posted by Kyance
Посмотреть сообщение
pawn Код:
SetPlayerWorldBounds(playerid,742.0555,1571.6013,8.7897,130.7141,1696.3623,17.6406651.2563,1822.0771,5.4688,355,250.7659,1211.3595,15.0886);
Uh, if those comments for your coords are correct, then it would look like that, i guess.
By the way, you can use "Xtreme Vehicle Plotter" to create World Bounds, Gang Zones etc. faster and easier!
not corrent. Arguments doesn't match definition.

Quote:
Originally Posted by Phyzic
Посмотреть сообщение

(North)
ymax
|----------|
| |
(West) xmin | | xmax (East)
| |
|----------|
ymin
(South)
Can you explain it little more ?
I mean i successfully got the coords but the problem is in setting it in the function.
Reply
#5

Quote:
Originally Posted by Kyance
Посмотреть сообщение
pawn Код:
SetPlayerWorldBounds(playerid,742.0555,1571.6013,8.7897,130.7141,1696.3623,17.6406651.2563,1822.0771,5.4688,355,250.7659,1211.3595,15.0886);
Uh, if those comments for your coords are correct, then it would look like that, i guess.
By the way, you can use "Xtreme Vehicle Plotter" to create World Bounds, Gang Zones etc. faster and easier!
Take your time and understand it - SetPlayerWorldBounds(playerid,Float:x_max,Float:x_ min,Float:y_max,Float:y_min);

Use this :-
Код:
SetPlayerWorldBounds(playerid,742.0555,130.7141,1822.0771,1211.3595);
Reply
#6

ok thanks. it worked.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)