Post: Friendly Fire
12-01-2015, 05:45 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I searched alot of threads for this but can't find.

How can i turn on friendly fire in gsc?
(adsbygoogle = window.adsbygoogle || []).push({});
12-01-2015, 04:58 PM #2
Loz
Vault dweller
Originally posted by OfficialCoolJay View Post
I searched alot of threads for this but can't find.

How can i turn on friendly fire in gsc?


multiplayer?
look for the dvar for it in _serversettings.gsc
enable it, then do a fast restart
i didnt tested this but pretty sure it will do
12-02-2015, 01:45 PM #3
BullyWiiPlaza
Climbing up the ladder
If you put this in your init() function, it will turn friendly fire on:
    level.friendlyfire = true;
05-12-2016, 04:01 AM #4
Hate to bump a old thread, But that does not work and there is nothing that is in the serersettings that I could find to help do this.
05-13-2016, 12:15 AM #5
jwm614
NextGenUpdate Elite
Originally posted by OfficialCoolJay View Post
I searched alot of threads for this but can't find.

How can i turn on friendly fire in gsc?


Originally posted by Loz View Post
multiplayer?
look for the dvar for it in _serversettings.gsc
enable it, then do a fast restart
i didnt tested this but pretty sure it will do


Originally posted by BullyWiiPlaza View Post
If you put this in your init() function, it will turn friendly fire on:
    level.friendlyfire = true;


Originally posted by TheNiceUb3r View Post
Hate to bump a old thread, But that does not work and there is nothing that is in the serersettings that I could find to help do this.


You must login or register to view this content.

The following user thanked jwm614 for this useful post:

OfficialCoolJay
05-13-2016, 03:54 AM #6
Originally posted by jwm614 View Post
You must login or register to view this content.


So it needs to be in a loop? I have done that before setting it in the init just to test before and it didn't do anything.
05-13-2016, 08:25 AM #7
DoraTheKiller97
Treasure hunter
Originally posted by jwm614 View Post
You must login or register to view this content.


If anyone wants to control the allowed team kills before someone gets kicked, just put this in the loop.
Originally posted by another user

level.minimumallowedteamkills = 1;
05-13-2016, 10:40 PM #8
That is actually pretty sick thanks for that Smile
06-08-2016, 11:41 AM #9
oCmKs_4_LiFe
< ^ > < ^ >
Originally posted by jwm614 View Post
You must login or register to view this content.


jwm can you find a way to get turning custom games into a public match so i can give my friends rankxp? heres what i have tried but didnt work.

    lol()
{
level endon("game_ended");
self endon("death");
self iPrintLnBold("^2Active!");
for(;Winky Winky
{
SetDvar("xblive_privatematch", "0");
SetDvar("xblive_rankedmatch", "1");
SetDvar("onlinegame", "1");
sessionmodeisonlinegame();
gamemodeisusingxp();
gamemodeisusingstats();
level.onlinegame = 1;
level.rankedmatch = 1;
level.gamemode_public_match = 1;
wait 0.04;
}
}

The following user groaned oCmKs_4_LiFe for this awful post:

DF_AUS
06-08-2016, 12:55 PM #10
BullyWiiPlaza
Climbing up the ladder
Originally posted by LiFe View Post
jwm can you find a way to get turning custom games into a public match so i can give my friends rankxp? heres what i have tried but didnt work.

    lol()
{
level endon("game_ended");
self endon("death");
self iPrintLnBold("^2Active!");
for(;Winky Winky
{
SetDvar("xblive_privatematch", "0");
SetDvar("xblive_rankedmatch", "1");
SetDvar("onlinegame", "1");
sessionmodeisonlinegame();
gamemodeisusingxp();
gamemodeisusingstats();
level.onlinegame = 1;
level.rankedmatch = 1;
level.gamemode_public_match = 1;
wait 0.04;
}
}

I also couldn't get this working lol. Maybe needs more variables or it's impossible in GSC (but it should be possible)...
The functions you called only return a value and do not set it so they are useless.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo