// Check to see if the player is a valid target
client = GetFilteredEntity(t);
- accepted = VerifyClientEntity(client, TRUE, FALSE);
+ accepted = VerifyClientEntity(client, true, false);
if(accepted <= 0)
{
case CMD_REQUEST_COMMAND:
{
entity client = GetIndexedEntity(argc, 1);
- float accepted = VerifyClientEntity(client, FALSE, FALSE);
+ float accepted = VerifyClientEntity(client, false, false);
if(accepted > 0)
{
if(argc >= 2)
{
client = GetIndexedEntity(argc, 1);
- accepted = VerifyClientEntity(client, TRUE, FALSE);
+ accepted = VerifyClientEntity(client, true, false);
if(accepted > 0)
{
// Check to see if the player is a valid target
client = GetFilteredEntity(t);
- accepted = VerifyClientEntity(client, FALSE, FALSE);
+ accepted = VerifyClientEntity(client, false, false);
if(accepted <= 0)
{
else if(team_id == 0) // auto team
{
CheckAllowedTeams(client);
- team_id = Team_NumberToTeam(FindSmallestTeam(client, FALSE));
+ team_id = Team_NumberToTeam(FindSmallestTeam(client, false));
}
else
{
case "read":
{
client = GetIndexedEntity(argc, 2);
- accepted = VerifyClientEntity(client, FALSE, TRUE);
+ accepted = VerifyClientEntity(client, false, true);
if(accepted <= 0)
{
case "write":
{
client = GetIndexedEntity(argc, 2);
- accepted = VerifyClientEntity(client, FALSE, FALSE);
+ accepted = VerifyClientEntity(client, false, false);
if(accepted <= 0)
{
{
case CMD_REQUEST_COMMAND:
{
- DumpStats(FALSE);
+ DumpStats(false);
print("stats dumped.\n");
return;
}
if(argv(2))
{
entity client = GetIndexedEntity(argc, 1);
- float accepted = VerifyClientEntity(client, TRUE, FALSE);
+ float accepted = VerifyClientEntity(client, true, false);
if(accepted > 0)
{
float GameCommand_macro_command(float argc, string command)
{
#define SERVER_COMMAND(name,function,description) \
- { if(name == strtolower(argv(0))) { function; return TRUE; } }
+ { if(name == strtolower(argv(0))) { function; return true; } }
SERVER_COMMANDS(CMD_REQUEST_COMMAND, argc, command)
#undef SERVER_COMMAND
- return FALSE;
+ return false;
}
float GameCommand_macro_usage(float argc)
{
#define SERVER_COMMAND(name,function,description) \
- { if(name == strtolower(argv(1))) { function; return TRUE; } }
+ { if(name == strtolower(argv(1))) { function; return true; } }
SERVER_COMMANDS(CMD_REQUEST_USAGE, argc, "")
#undef SERVER_COMMAND
- return FALSE;
+ return false;
}
void GameCommand_macro_write_aliases(float fh)