AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Muzzleflash (https://forums.alliedmods.net/showthread.php?t=196047)

GuskiS 09-14-2012 17:40

Muzzleflash
 
Can someone give me a code or example how to remove muzzleflash effect from players view and world?

meTaLiCroSS 09-14-2012 20:31

Re: Muzzleflash
 
Quote:

Originally Posted by GuskiS (Post 1799319)
Can someone give me a code or example how to remove muzzleflash effect from players view and world?

From view you can't, because it's something attached to the models and are client-side.

From world, you can hook PrimaryAttack on each weapon and disable the EF_MUZZLEFLASH bit from the pev_effects bitmask of the weapon's owner.


All times are GMT -4. The time now is 08:16.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.