340 {
341 if ( !
GetGame().IsDedicatedServer() )
342 {
343 ItemBase suppressor = GetAttachedSuppressor();
344
345
346 ItemBase.PlayFireParticles(
this, muzzleType, ammoType,
this, suppressor,
"CfgWeapons" );
348
349 if (suppressor)
350 {
351 ItemBase.PlayFireParticles(
this, muzzleType, ammoType, suppressor, NULL,
"CfgVehicles" );
352 suppressor.IncreaseOverheating(this, ammoType, this, suppressor, "CfgVehicles");
353 }
354 }
355
356
357
358
359
360
361
362
363
364
365
366
367 #ifdef DIAG_DEVELOPER
368 MiscGameplayFunctions.UnlimitedAmmoDebugCheck(this);
369 #endif
370 }
class GP5GasMask extends MaskBase ItemBase
void IncreaseOverheating(ItemBase weapon, string ammoType, ItemBase muzzle_owner, ItemBase suppressor, string config_to_search)
proto native CGame GetGame()