SANZONE_AREA Help!
#3

pawn Код:
stock GetPlayer3DZone(playerid, zone[], len)
{
    new Float:x33, Float:y33, Float:z33;
    GetPlayerPos(playerid, x33, y33, z33);
    for(new i = 0; i != sizeof(gSAZones); i++ )
    {
        if(x33 >= gSAZones[i][SANZONE_AREA][0] && x33 <= gSAZones[i][SANZONE_AREA][3] && y33 >= gSANZones[i][SAZONE_AREA][1] && y33 <= gSANZones[i][SAZONE_AREA][4] && z33 >= gSAZones[i][SANZONE_AREA][2] && z33 <= gSANZones[i][SAZONE_AREA][5]) // <<< This is the error.
        {
            return format(zone, len, gSAZones[i][SAZONE_NAME], 0);
        }
    }
    return 0;
}
Reply


Messages In This Thread
SANZONE_AREA Help! - by Tama - 23.04.2012, 04:44
Re: SANZONE_AREA Help! - by Yuryfury - 23.04.2012, 04:54
Re: SANZONE_AREA Help! - by Tama - 23.04.2012, 05:02
Re: SANZONE_AREA Help! - by eesh - 23.04.2012, 05:20
Re: SANZONE_AREA Help! - by Tama - 23.04.2012, 05:25
Re: SANZONE_AREA Help! - by ViniBorn - 23.04.2012, 05:35
Re: SANZONE_AREA Help! - by Tama - 23.04.2012, 05:42
Re: SANZONE_AREA Help! - by ViniBorn - 23.04.2012, 05:45
Re: SANZONE_AREA Help! - by Tama - 23.04.2012, 06:00

Forum Jump:


Users browsing this thread: 1 Guest(s)