Raised This Month: $ Target: $400
 0% 

Muzzleflash


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 09-14-2012 , 17:40   Muzzleflash
Reply With Quote #1

Can someone give me a code or example how to remove muzzleflash effect from players view and world?
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 09-14-2012 , 20:31   Re: Muzzleflash
Reply With Quote #2

Quote:
Originally Posted by GuskiS View Post
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.
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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