Nice idea. Some notes:
The boolean tag is lowercase in sourcepawn. "bool:" instead of "Bool:".
When using #tryinclude, make sure to mark the autoupdate natives as optional in askpluginload2 to have the plugin compile if the include fails.
PHP Code:
if(StrEqual(buffer, "@all") || StrEqual(buffer, "@red") || StrEqual(buffer, "@blue") || StrEqual(buffer, "@alive") || StrEqual(buffer, "@dead") || StrEqual(buffer, "@humans") || StrEqual(buffer, "@bots") || StrEqual(buffer, "@ct") || StrEqual(buffer, "@t")) {
ReplyToCommand(client, "[SM] Usage: sm_mutecheck [target]");
return Plugin_Handled;
}
You don't want those group targeting features?
Consider using
FindTarget to allow a single target only.
For performance reasons, don't declare new variables in a loop, but do it beforehand.
__________________