My plugin actually does magic is playing sound when someone picked money. Simple.
At this moment, it is playing only one sound, because i couldn't find nice sounds. I'll show how to add your sounds below.
Installation:
Put Bz2 files on your fastdownload server;
Copy .smx and sound files to your server;
Configuration:
No config now, I don't know how to make it
To edit my plugin, you need to change the source code at these places:
1st
Spoiler
Lines 32-53 - uncomment as much as you need (remove "//")
PHP Code:
public Action:Plugin_Actions()
{
AddFileToDownloadsTable("sound/moneymod/moneymoneymoney.mp3");
// AddFileToDownloadsTable("sound/moneymod/"); //uncomment and change to your sound path
// AddFileToDownloadsTable("sound/moneymod/");
// AddFileToDownloadsTable("sound/moneymod/");
// AddFileToDownloadsTable("sound/moneymod/");
// AddFileToDownloadsTable("sound/moneymod/");
// AddFileToDownloadsTable("sound/moneymod/");
// AddFileToDownloadsTable("sound/moneymod/");
// AddFileToDownloadsTable("sound/moneymod/");
public OnPluginStart() { CreateConVar("pluginname_version", PLUGIN_VERSION, "Plugin version. Do not change this.", FCVAR_NOTIFY|FCVAR_SPONLY); AutoExecConfig(true, "pluginname"); }
public OnPluginStart()
{
CreateConVar("pluginname_version", PLUGIN_VERSION, "Plugin version. Do not change this.", FCVAR_NOTIFY|FCVAR_SPONLY);
AutoExecConfig(true, "pluginname");
}
Thanks, it will be useful, but that's not what i wanted.
I want to make config, which will have paths to files, so you won't mess with code.
Again thanks