16.09.2012, 03:22
The function itself sets the world boundaries for someone to inside a square. A square has four points, this is what Xmin, Xmax, Ymin, and Ymax are. Here is the example from the wiki:
Find the Y point any position over the Ymax and Ymin lines and do the same for the X (Xmin and Xmax). We don't use the Z co-ord because it's a 2d area.
pawn Код:
/*
ymax
|----------|
| |
xmin | | xmax
| |
|----------|
ymin
*/
Find the Y point any position over the Ymax and Ymin lines and do the same for the X (Xmin and Xmax). We don't use the Z co-ord because it's a 2d area.