Quote:
Originally Posted by AtomicStryker
Wow, this is ... incredibly elaborate for what it actually does. Have fun bug hunting, lol.
I spotted some odd things in the code.. like:
PHP Code:
public Action:_Vocalize_OnVocalize_Command(client, const String:command[], argc)
{
if (client == CLIENT_INDEX_SERVER || IsFakeClient(client)) return Plugin_Continue;
if (!IsClientInGame(client)) return Plugin_Handled;
Why check IsClientIngame after IsFakeClient? The first would error out already. Also, you block local servers from running this plugin. Do dedicated servers vocalize, at all?
|
Yeah... nice catch
No the server doesn't vocalize, I don't block the command through. Even if there is a fool to do "rcon vocalize", I rather be safe than sorry.