Garry's Mod

Garry's Mod

Anti-FriendlyFire (NPC)
 This topic has been pinned, so it's probably important
LibertyForce  [developer] 8 Aug, 2015 @ 12:09pm
Console Commands
Here you can find all console commands.

These can only be changed from server console / rcon. Or use the menu, which allows admins to easily change all settings.

For all convars:
0 = disabled
1 = enabled


npc_antiff_player 0/1 (Default: 1)
Players no longer hurt NPCs that are friendly towards them.

npc_antiff_npc 0/1 (Default: 1)
NPCs no longer hurt other NPCs that they are friendly towards.

npc_antiff_npc_selfdmg 0/1 (Default: 0)
NPCs no longer hurt themself.

npc_antiff_rel_neutral 0/1 (Default: 1)
This also prevents damage to NPCs that have neutral relationship.

npc_antiff_rel_fear 0/1 (Default: 0)
This also prevents damage to NPCs that have fear relationship.


This might prevent advancing in some maps:

npc_antiff_prop 0/1 (Default: 0)
You will no longer damage breakable props / entities.

npc_antiff_prop_force 0/1 (Default: 0)
You will also not apply any physical force from bullet impacts.
Requires npc_antiff_prop


npc_antiff_admins_allowall 0/1 (Default: 0)
All other settings can be changed by normal admins via menu. Otherwise, only Super-Admins can change settings.
Of course, this setting can only be changed by Super-Admins / rcon / server console.
Last edited by LibertyForce; 8 Aug, 2015 @ 2:06pm