GangZoneCreate
#4

pawn Код:
create_gang_zone ( )
{
    new
        id, idx_max_min [ 19 ] = { 20, 40, ... } ;
    for ( new i; i != GANG_ZONE ; i++ )
    {
        new Float: MAX_Y = 2965.00, Float: MAX_X = 2870.00
        zone_params [ i ][ L_atak_zone ] = -1, zone_params [ i ] [ L_my_zone ] = -1 ;
        if ( i == idx_max_min [ i ] ) MAX_X -= 300.00, MAX_Y = 2965.00, ++ id ;
        zone_params [ i ] [ z_min_x ] = MAX_Y - 300.00;
        zone_params [ i ] [ z_min_y ] = MAX_X - 300.00;
        zone_params [ i ] [ z_max_x ] = MAX_Y;
        zone_params [ i ] [ z_max_y ] = MAX_X, MAX_Y -= 300.00 ;
        zone_params [ i ] [ L_id_zone ] = GangZoneCreate ( zone_params [ i ] [ z_min_x ], zone_params [ i ] [ z_min_y ],
            zone_params [ i ] [ z_max_x ] , zone_params [ i ] [ z_max_y ] ) ;
    }
    print ("gang Zone Load") ; //I do not see this in the server console
    return 1 ;
}
?? Does this work?
Reply


Messages In This Thread
GangZoneCreate - by Mr_Zlodei - 20.01.2013, 06:20
Re: GangZoneCreate - by [KHK]Khalid - 20.01.2013, 07:12
Re: GangZoneCreate - by Mr_Zlodei - 20.01.2013, 07:19
Re: GangZoneCreate - by Threshold - 20.01.2013, 07:45
Re: GangZoneCreate - by Mr_Zlodei - 20.01.2013, 08:08

Forum Jump:


Users browsing this thread: 2 Guest(s)