DisableGunPhysics() public method

public DisableGunPhysics ( Player player, bool announce ) : void
player Player
announce bool
return void
Exemplo n.º 1
0
 public static void RevertGame() //Reset game bools/stats and stop timers
 {
     task_.Stop();
     world_.gameMode = GameMode.NULL;
     instance        = null;
     started         = false;
     if (world_.gunPhysics)
     {
         world_.DisableGunPhysics(Player.Console, true);
     }
     world_       = null;
     playerCount  = 0;
     stoppedEarly = false;
 }
 public static void RevertGame() //Reset game bools/stats and stop timers
 {
     task_.Stop();
     world_.gameMode = GameMode.NULL;
     isOn            = false;
     instance        = null;
     started         = false;
     if (world_.gunPhysics)
     {
         world_.DisableGunPhysics(Player.Console, true);
     }
     world_        = null;
     redScore      = 0;
     blueScore     = 0;
     redTeamCount  = 0;
     blueTeamCount = 0;
     RevertNames();
 }