World Boundaries
#1

I never done world boundaries before so i need some help. Can someone tell me where ill Set the Save as?

Like the Cordinates and how i would do so?

Reply
#2

https://sampwiki.blast.hk/wiki/SetPlayerWorldBounds

pawn Код:
SetPlayerWorldBounds(playerid, x_max, x_min, y_max, y_min);
Reply
#3

Quote:
Originally Posted by Jantjuh
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/SetPlayerWorldBounds

pawn Код:
SetPlayerWorldBounds(playerid, x_max, x_min, y_max, y_min);
What does it mean by Minimum and Max?
Reply
#4

Min is South-West point X,Y coordinates and max is North-East point X,Y coordinates.
Reply
#5

So far this is what i have for cord's.

Код:
-410.00000 1226.0000 31.0000 //Top Left
124.00000 1341.0000 11.0000//Top Right
215.00000 905.00000 24.0000//Bottom Right
-383.0000 852.0000 10.0000//Bottom Left
which Numbers do i use? I labeled them with the specific places there tooken
Reply
#6

Bottom Left is min and Top Right is max.

First number is X and second is Y.
Reply
#7

So, is this right?

SetPlayerWorldBounds(playerid, -410.00000, -383.0000, 1341.0000, 905.00000)
Reply
#8

pawn Код:
SetPlayerWorldBounds(playerid, 124.00000, -383.0000, 1341.0000, 852.0000);
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)