AdminCheats: print noclip to chat
This commit is contained in:
parent
a228405eab
commit
60be38608c
@ -106,6 +106,9 @@ public Action OnCheatCommand(int client, const char[] command, int argc)
|
||||
return Plugin_Handled;
|
||||
|
||||
LogAction(client, -1, "\"%L\" used cheat command: \"%s\"", client, command);
|
||||
if(StrEqual(command, "noclip") && GetClientTeam(client) > 1 && IsPlayerAlive(client) == true)
|
||||
ShowActivity2(client, "[SM] ", "Toggled noclip on target himself.");
|
||||
|
||||
return Plugin_Continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user