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