Raised This Month: $ Target: $400
 0% 

Solved Unprecaching map sounds


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
TBagT
Member
Join Date: Aug 2016
Location: Lithuania
Old 07-25-2017 , 12:42   Re: Unprecaching map sounds
Reply With Quote #3

Hi I don't know if this will help but I use this code to remove ambient generic sounds from map it also unprecaches them, the code is Connors if I remember correctly. Maybe you'll manage rewrite this code to only remove those sounds which are unnecessary.

PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>

public plugin_precache( ) {
        
RegisterHamHam_Spawn"ambient_generic""CAmbientGeneric_Spawn" );
}

public 
CAmbientGeneric_Spawnent ) {
        
set_peventpev_message);
        return 
HAM_HANDLED;


Last edited by TBagT; 07-25-2017 at 14:10.
TBagT is offline
 



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 23:12.


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