13.12.2015, 05:10
Quote:
|
Is there away to even fix that, it just outputs "unknown command". Or is there another way to get a players zone and output it. As of now I'm clueless.
|
The fix is pretty obvious, use a value that is inferior to the size of "zones".
For example, you are doing this:
pawn Код:
enum eZones
{
Float:zones_max_x,
Float:zones_max_y,
Float:zones_max_z,
Float:zones_min_x,
Float:zones_min_y,
Float:zones_min_z
};
static const aZones[][eZones] =
{
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0}
};
pawn Код:
aZones[8][zones_max_x]


