s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam
Api
Editor Classes
ConsoleSystem
chevron_left Editor Classes
class
ConsoleSystem

Static Methods

functionsGetValuefunctionsGetValueFloatfunctionsGetValueIntfunctionsRunfunctionsSetValue
ConsoleSystem
class Editor .
staticsealedabstractSandbox.Tools

functions Static Methods 5

GetValue (name, defaultValue)
string
Get a convar value as a string
GetValueFloat (name, defaultValue)
float
Get a convar value as an float if possible.
GetValueInt (name, defaultValue)
int
Get a convar value as an integer if possible.
Run (command)
Run this command. This should be a single command.
SetValue (name, value)
Try to set a console variable. You will only be able to set variables that you have permission to set.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter