new bool:IsVehicleDirty[MAX_VEHICLES];// Whenever you want to set it to dirtyIsVehicleDirty[vehicleid = true;