Jump to content
  • 0

Problema clasica


Alexica721

Question

2 answers to this question

Recommended Posts

stock DeleteNRG( )
{
    for( new iVeh; i < MAX_VEHICLES; i++ )
    {
        new
            iVeh_Model = GetVehicleModel( i );
            
        if( iVeh_Model == 522 ) return DestroyVehicle( i );
	}
}

stock DeleteNRG2( )
{
    for( new iVeh; i < MAX_VEHICLES; i++ )
    {
        new
            iVeh_Model = GetVehicleModel( i );

        if( iVeh_Model != 522 ) continue;
        else return DestroyVehicle( i );
	}
}

Ai 2 exemple, vezi si tu care din ele merg mai bine.

Just Rock

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.