Raised This Month: $ Target: $400
 0% 

Precaching Sounds dont Work?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
projacore
Junior Member
Join Date: Apr 2016
Old 04-03-2016 , 11:11   Precaching Sounds dont Work?
Reply With Quote #1

Hello,

I am precaching and downloading sounds with an plugin.
The download process is well and the plugin seems to successfully cache the sound.

Now if i am joining and, another plugin is Emitting the Sound it says its not precachet.

here is the way how i precache and download the file

buffer = "/customfolder/quake/standard/rampage.mp3"
PHP Code:
                if(PrecacheSound(buffer,true)){
                    
PrintToServer("Added Sound: %s",buffer)
                }else{
                    
PrintToServer("Failed to Add Sound: %s",buffer)
                }
                
AddFileToDownloadsTable(buffer); 
after joining the Server the other Plugin who plays the sound cant play the sound and the Message occurs:
PHP Code:
SV_StartSound: */customfolder/quake/standard/rampage.mp3 not precached (0

Last edited by projacore; 04-03-2016 at 11:14. Reason: Bad Syntax (english)
projacore is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-03-2016 , 11:44   Re: Precaching Sounds dont Work?
Reply With Quote #2

game ?
__________________
Do not Private Message @me
Bacardi is offline
projacore
Junior Member
Join Date: Apr 2016
Old 04-03-2016 , 11:47   Re: Precaching Sounds dont Work?
Reply With Quote #3

Counter Strike Global Offensive
SourceMod 1.7.2
Metamod:Source version 1.10.5
projacore is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 04-03-2016 , 12:20   Re: Precaching Sounds dont Work?
Reply With Quote #4

https://wiki.alliedmods.net/CSGO_Qui..._Custom_Sounds
WildCard65 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 03:35.


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