Friendly Fire wont stay on

Use this forum if you have a relatively general question or comment about a game, Ventrilo, TeamSpeak, or Murmur/Mumble server with us. If you have a server-specific question that might not help out the community, please directly contact us through your control panel instead.
Post Reply
User avatar
Eagle
New to forums
New to forums
Posts: 11
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Nov 01, 2005 11:52 am
Location: Salem Oregon

Friendly Fire wont stay on

Post by Eagle »

Hey, Im running amxmod and every time im in game i go to console cvar commands and turn on friendly fire but whenver map is changed or i leave and come back friendly fire is off? why wont it stay on?
User avatar
Nick|NFo
Former staff
Former staff
Posts: 2252
Joined: Sun Mar 30, 2003 1:56 pm
Location: 127.0.0.1

Post by Nick|NFo »

Changing the cvar through amxmodx is only going to be temporary since you have the cvar set in your server.cfg. Edit your server.cfg using the file manager and change mp_friendlyfire 0 to mp_friendlyfire 1. Save that and now friendlyfire will remain on at mapchanges.
-Nick
User avatar
Eagle
New to forums
New to forums
Posts: 11
Joined: Tue Nov 01, 2005 11:52 am
Location: Salem Oregon

sweet

Post by Eagle »

awesome ty man.
User avatar
Eagle
New to forums
New to forums
Posts: 11
Joined: Tue Nov 01, 2005 11:52 am
Location: Salem Oregon

wtf?

Post by Eagle »

ok this didnt work so maybe i jsut show you the setup and you tell me whats wrong

; Cvars Menu:
; < cvar > < values > ... < access level >

"mp_timelimit" "0" "30" "45" "u"
"sv_password" "" "mypw" "clanwar" "u"
"pausable" "0" "1" "u"
"sv_voiceenable" "0" "1" "u"
"mp_chattime" "0" "1" "3" "u"
"mp_logmessages" "0" "1" "u"
"mp_friendlyfire" "1" "0" "u"
"mp_limitteams" "0" "1" "2" "u"
"mp_autoteambalance" "0" "1" "2" "u"
"mp_limitteams" "0" "1" "2" "u"
"allow_spectators" "0" "1" "u"
"mp_freezetime" "0" "6" "u"
"mp_buytime" "1" "0.5" "u"
"mp_startmoney" "800" "1800" "3600" "u"
"mp_c4timer" "35" "45" "15" "u"
"mp_forcechasecam" "0" "1" "2" "u"
User avatar
bOoya
Former staff
Former staff
Posts: 886
Joined: Thu Jan 15, 2004 3:46 pm
Location: Corona, CA
Contact:

Post by bOoya »

I still see mp_friendlyfire 0 in your server.cfg.
For direct help with this, click the 'Live Chat' button in your control panel.
User avatar
Eagle
New to forums
New to forums
Posts: 11
Joined: Tue Nov 01, 2005 11:52 am
Location: Salem Oregon

Post by Eagle »

so both for friendly fire need to be 1? i tried that and it was still turned off
User avatar
Nick|NFo
Former staff
Former staff
Posts: 2252
Joined: Sun Mar 30, 2003 1:56 pm
Location: 127.0.0.1

Post by Nick|NFo »

Eagle wrote:so both for friendly fire need to be 1? i tried that and it was still turned off
Once you change mp_friendlyfire 0 to mp_friendlyfire 1, that change is not going to be immediate. A map change or a server restart is needed to load the new value. You can change the value again using amxmodx if you do not want to restart or change maps.
-Nick
User avatar
Eagle
New to forums
New to forums
Posts: 11
Joined: Tue Nov 01, 2005 11:52 am
Location: Salem Oregon

ha

Post by Eagle »

lmao i still dont get it. which one do i turn to 1? theres mp_friendly fire "1" "0" is that how it is supposeed to be or is it supposed to be mp_friendly fire "0" "1"
User avatar
bOoya
Former staff
Former staff
Posts: 886
Joined: Thu Jan 15, 2004 3:46 pm
Location: Corona, CA
Contact:

Post by bOoya »

You're looking at the wrong file. The one you are looking at now is:
  • addons/amxmodx/configs/cvars.ini
and the one you should be looking at is
  • ./server.cfg
In server.cfg mp_friendlyfire is listed just one time, and its currently set to 0. Change that to 1, save the changes, and then change maps on your server and you're good to go.
Post Reply