Precache in spawn function?
I'm trying to unprecache shoot sounds but I can't connect to the server, it said: Precache can only be done in spawn functions. Can I remove that? :D I know if shoot sounds are client.
|
Re: Precache in spawn function?
Code?
|
Re: Precache in spawn function?
All precaching has to be done in plugin_precache().
|
Re: Precache in spawn function?
naven,
PHP Code:
|
Re: Precache in spawn function?
Full code ? Also you may call forward_return(FMV_CELL, 0) before to return supercede
|
Re: Precache in spawn function?
Connor, here is the full code :D
PHP Code:
|
Re: Precache in spawn function?
Dont unregister it, and use forward_return
|
Re: Precache in spawn function?
Thank you for your advice, Connor. :D
EDIT: previous post, the code didn't work. Well, Arkshine's post said if forward_return(FMV_CELL, 0) doesn't work for shoot sounds. |
Re: Precache in spawn function?
If your aim is to block sounds from being played, it won't work because all is proceeded client side.
You need to block PlaybackEvent from being called. |
Re: Precache in spawn function?
Oh, :okayface thank you.
|
| All times are GMT -4. The time now is 06:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.