EmitSoundAny Without INC
Original Post: HERE
I decided to post this for the scripters that don't want to require a custom .inc file for their plugin to compile. Just add these functions to your code and use them as you normally would. Not all functions are required, BUT the variable and OnPluginStart() below ARE required. PHP Code:
Spoiler
|
Re: EmitSoundAny Without INC
The entire point of putting it in an .inc file is so that you didn't have to put the code into every plugin.
|
Re: EmitSoundAny Without INC
Lol.
I try to use playgamesound client command whenever, since the files dont have to be precached and its generally easier on the server. |
Re: EmitSoundAny Without INC
Quote:
Quote:
I hate custom inc files lol. I'm not saying this is the best way to go, but it is here for when you want others to be able to compile it on default compiler. Another reason I did this was because the inc file from the page was giving me errors when I tried compiling. *shrug* |
Re: EmitSoundAny Without INC
Quote:
Yes, default forum compiler can't compile plugins with custom includes, but there is spider and I guess, it will replace the current one. |
Re: EmitSoundAny Without INC
Ok well I was getting errors when compiling so I just took the inc file apart and thought I might as well post it incase someone else finds it useful. That is all that happened. Good day.
|
Re: EmitSoundAny Without INC
You guys make the OP feel like "gee guys sorry that I tried to HELP"...
|
Re: EmitSoundAny Without INC
Quote:
Something they could already do if they didn't want to rely on an external .inc file. |
Re: EmitSoundAny Without INC
Quote:
|
Re: EmitSoundAny Without INC
Quote:
|
| All times are GMT -4. The time now is 18:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.