24.05.2017, 08:38
Quote:
Yes, of course it is...All vehicles have an ID, and there is MAX_VEHICLES, or GetVehiclePoolSize.
Engine being activated has nothing to do with it. |
PHP код:
for(new i; i < GetVehiclePoolSize()+1; i++)
{
if( GetVehicleMass( i ) >= 2400.0 )
{
SetVehicleAngularVelocity( i, 0.05, 0.3, 0.08 );
}
else
{
SetVehicleAngularVelocity( i, 0.015, 0.15, 0.15 );
}
}