DisableGunPhysics() public method

public DisableGunPhysics ( Player player, bool announce ) : void
player Player
announce bool
return void
Ejemplo 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;
 }
Ejemplo n.º 2
0
 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();
 }