if(argc >= 2)
{
entity client = GetIndexedEntity(argc, 1);
- float accepted = VerifyClientEntity(client, TRUE, FALSE);
+ float accepted = VerifyClientEntity(client, true, false);
float reason_arg, bantime, masksize;
string reason;
if(argc >= 2)
{
entity client = GetFilteredEntity(argv(1));
- float accepted = VerifyClientEntity(client, TRUE, FALSE);
+ float accepted = VerifyClientEntity(client, true, false);
if(accepted > 0)
{
- client.muted = TRUE;
+ client.muted = true;
return;
}
else
if(argc >= 2)
{
entity client = GetFilteredEntity(argv(1));
- float accepted = VerifyClientEntity(client, TRUE, FALSE);
+ float accepted = VerifyClientEntity(client, true, false);
if(accepted > 0)
{
- client.muted = FALSE;
+ client.muted = false;
return;
}
else
float BanCommand_macro_command(float argc, string command)
{
#define BAN_COMMAND(name,function,description) \
- { if(name == strtolower(argv(0))) { function; return TRUE; } }
+ { if(name == strtolower(argv(0))) { function; return true; } }
BAN_COMMANDS(CMD_REQUEST_COMMAND, argc, command)
#undef BAN_COMMAND
- return FALSE;
+ return false;
}
float BanCommand_macro_usage(float argc)
{
#define BAN_COMMAND(name,function,description) \
- { if(name == strtolower(argv(1))) { function; return TRUE; } }
+ { if(name == strtolower(argv(1))) { function; return true; } }
BAN_COMMANDS(CMD_REQUEST_USAGE, argc, "")
#undef BAN_COMMAND
- return FALSE;
+ return false;
}
void BanCommand_macro_write_aliases(float fh)
if(BanCommand_macro_command(argc, command)) // continue as usual and scan for normal commands
{
- return TRUE; // handled by one of the above GenericCommand_* functions
+ return true; // handled by one of the above GenericCommand_* functions
}
- return FALSE;
+ return false;
}