Left 4 Dead 2

Left 4 Dead 2

View Stats:
How to turn friendly fire off in my local server?
Hii, so i have been playing with friends and we have been having trouble with friendly fire.. ugh, is there any way to take friendly fire off the game?? pls help, thanks in advance!
< >
Showing 1-15 of 18 comments
Baosas Apr 5, 2020 @ 2:14am 
survivor_friendly_fire_factor_expert 0
survivor_friendly_fire_factor_hard 0
survivor_friendly_fire_factor_normal 0
Your Teacher Apr 5, 2020 @ 9:25am 
Originally posted by Baosas:
survivor_friendly_fire_factor_expert 0
survivor_friendly_fire_factor_hard 0
survivor_friendly_fire_factor_normal 0
It says i need to set sv_cheats 1, however when i try to do so, it says i cant, how can i enable sv_cheats 1?
Baosas Apr 5, 2020 @ 9:56am 
Originally posted by Your Teacher:
Originally posted by Baosas:
survivor_friendly_fire_factor_expert 0
survivor_friendly_fire_factor_hard 0
survivor_friendly_fire_factor_normal 0
It says i need to set sv_cheats 1, however when i try to do so, it says i cant, how can i enable sv_cheats 1?
Use SourceMod to autoexec these cvars via "sm_cvar <command>" (without quotes).

Alternatively, use this: https://steamcommunity.com/sharedfiles/filedetails/?id=214630948
Last edited by Baosas; Apr 5, 2020 @ 9:57am
Your Teacher Apr 5, 2020 @ 10:05am 
Sourcemod? what isthat? workshop mod?
Your Teacher Apr 5, 2020 @ 10:11am 
I have installed admin system, but i still cant use sv_cheats 1
Rayman1103 Apr 5, 2020 @ 1:27pm 
Originally posted by Your Teacher:
I have installed admin system, but i still cant use sv_cheats 1
You won't be able to use sv_cheats even with the Admin System. But you can set Cvars without the need for sv_cheats while using it like so:

Text Chat:
!cvar survivor_friendly_fire_factor_normal 0

Dev Console:
scripted_user_func cvar,survivor_friendly_fire_factor_normal,0

I hope that helps.
Your Teacher Apr 5, 2020 @ 3:40pm 
Thank you so much! that worked like a charm!

Originally posted by Rayman1103:
Originally posted by Your Teacher:
I have installed admin system, but i still cant use sv_cheats 1
You won't be able to use sv_cheats even with the Admin System. But you can set Cvars without the need for sv_cheats while using it like so:

Text Chat:
!cvar survivor_friendly_fire_factor_normal 0

Dev Console:
scripted_user_func cvar,survivor_friendly_fire_factor_normal,0

I hope that helps.
Your Teacher Apr 7, 2020 @ 1:02pm 
Heyy, im back, how can i turn the friendly fire off in a nodecraft server? in the console, i tried the same command but it does not work

Originally posted by Rayman1103:
Originally posted by Your Teacher:
I have installed admin system, but i still cant use sv_cheats 1
You won't be able to use sv_cheats even with the Admin System. But you can set Cvars without the need for sv_cheats while using it like so:

Text Chat:
!cvar survivor_friendly_fire_factor_normal 0

Dev Console:
scripted_user_func cvar,survivor_friendly_fire_factor_normal,0

I hope that helps.
Blaquicat Apr 7, 2020 @ 1:39pm 
Try this:
mp_friendlyfire 0
Your Teacher Apr 7, 2020 @ 6:19pm 
Ill give it a shot!

Originally posted by Blaquicat | Łøs Ᵽᵾŧøs:
Try this:
mp_friendlyfire 0
Your Teacher Apr 7, 2020 @ 6:21pm 
[2020-04-07 20:20:38]: mp_friendlyfire 0
[2020-04-07 20:20:38]: Unknown command "mp_friendlyfire"
This happens when i try that command ;c
Blaquicat Apr 7, 2020 @ 6:22pm 
you dont have admin menu or sourcemod?
That cvar is hidden

sm_cvar mp_friendlyfire
[SM] Value of cvar "mp_friendlyfire": "1"
Your Teacher Apr 7, 2020 @ 6:23pm 
Its just a free trail of a nodecraft server, same thing happens when i put sm_cvar mp_friendlyfire in the console
Your Teacher Apr 7, 2020 @ 8:37pm 
Hey also, another question, is there any way to turn on whitelist to the server? its really annoying when other people join and kill me and my friend
Cursed Hawkins Apr 7, 2020 @ 11:36pm 
Why not make it so that friendly fire works the opposite way around where instead of you getting the damage the person that shot you gets the damage. I know its possible because I remember a friend having their server setup that way in regards to that.
< >
Showing 1-15 of 18 comments
Per page: 1530 50

Date Posted: Apr 4, 2020 @ 9:25pm
Posts: 18