Hi, I am having an issue where disabling the checking of the last time someone used a sound is still preventing sounds from being played after a few seconds.
Example. If I type these in right after one another, I get a message:
WAZZA - plays the sound
HI - [Say Sounds] Please Don't Spam the Sounds!
WAZZA - [Say Sounds] Please Don't Spam the Sounds!
WAZZA - [Say Sounds] Please Don't Spam the Sounds!
WAZZA - [Say Sounds] Please Don't Spam the Sounds!
WAZZA - plays the sound
Here's my sm_saysounds.cfg file settings for this issue:
Code:
//////////////////////////////////
// *** GENERAL *** //
//////////////////////////////////
// Time between each admin sound trigger, 0.0 to disable checking for admin sounds
// Set to -1 to completely bypass the soundspam protection for admins
// -
// Default: "4.5"
sm_saysoundhe_time_between_admin_sounds "0.0"
// Time between each sound trigger, 0.0 to disable checking
// -
// Default: "4.5"
sm_saysoundhe_time_between_sounds "0.0"
//////////////////////////////////
// *** LIMITS *** //
//////////////////////////////////
// If set, sm_saysoundhe_sound_limit is the limit per round instead of per map
// -
// Default: "0"
sm_saysoundhe_limit_sound_per_round "0"
// Maximum sounds per ADMIN (0 for unlimited)
// -
// Default: "0"
sm_saysoundhe_sound_admin_limit "0"
// Maximum sounds per PLAYER (0 for unlimited)
// -
// Default: "5"
sm_saysoundhe_sound_limit "30"
//////////////////////////////////
// *** WARNINGS *** //
//////////////////////////////////
// Number of sounds to warn ADMIN at (0 for no warnings)
// -
// Default: "0"
sm_saysoundhe_sound_admin_warn "0"
// Number of sounds to warn PLAYER at (0 for no warnings)
// -
// Default: "3"
sm_saysoundhe_sound_warn "25"
What could I be doing wrong? I tried to edit the default settings in the saysounds.sp file, but when I try to recompile the plugin, it gives me an error that says, "
Your plugin failed to compile!."
Code:
/home/groups/sourcemod/upload_tmp/phpdOIXSQ.sp(50) : fatal error 120: cannot read from file: "soundlib" Compilation aborted. 1 Error.
Any idea how to get this plugin to recompile?