Modme Forums

How to Lock Weapon Swapping?

Game Modding | Call of Duty: Black Ops 3 | Scripting


Fanatic:

How do I lock & unlock Weapon Swapping?


Fanatic:

nvm, FreezeControls works


ItzRexx-_-:

// Disables weapon swapping for each player

foreach(player in GetPlayers())

{

    player DisableWeaponCycling();

}



// Enables weapon swapping for each player

foreach(player in GetPlayers())

{

    player EnableWeaponCycling();

}


Fanatic:

// Disables weapon swapping for each player

foreach(player in GetPlayers())

{

    player DisableWeaponCycling();

}



// Enables weapon swapping for each player

foreach(player in GetPlayers())

{

    player EnableWeaponCycling();

}


thanks, this will be much better :)


ItzRexx-_-:

thanks, this will be much better :)

no problem man :)