Restrictions[SetPlayerWorldBounds]
#3

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:
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.
Reply


Messages In This Thread
Restrictions[SetPlayerWorldBounds] - by Lordzy - 16.09.2012, 03:04
Re: Restrictions[SetPlayerWorldBounds] - by zDevon - 16.09.2012, 03:17
Re: Restrictions[SetPlayerWorldBounds] - by [HiC]TheKiller - 16.09.2012, 03:22
Re: Restrictions[SetPlayerWorldBounds] - by Lordzy - 16.09.2012, 03:25
Re: Restrictions[SetPlayerWorldBounds] - by IceMeteor - 16.09.2012, 03:26

Forum Jump:


Users browsing this thread: 2 Guest(s)