Originally posted by NotDigit
So i'm working on a gamemode and I need to be able to disable killstreaks. I've tried level.killstreaksenable = 0; but got nothing. If you have a way please post the code
disableKillstreaks()
{
foreach(player in level.players)
{
level.loadoutkillstreaksenabled = false;
player setactionslot( 1, "" );
player setactionslot( 2, "" );
player setactionslot( 3, "" );
player setactionslot( 4, "" );
}
}
level.loadoutkillstreaksenabled = false; only works once per player spawn. Once they die, it seems that it resets or something. You're gunna need to run this function everytime a player dies to ensure that the killstreaks are always disabled.