Garry's Mod Wiki

physenv.SetPhysicsPaused

  physenv.SetPhysicsPaused( boolean pause )

Recently Added

This was recently added in version (2024.12.12). It might only be available on the Dev Branch right now.

Description

Pauses or unpauses the physics simulation globally. See physenv.GetPhysicsPaused for the getter.

Arguments

1 boolean pause
true to pause, false to unpause.