Garry's Mod Wiki

cvars.Number

number cvars.Number( string cvar, any default = nil )

Description

Retrieves console variable as a number.

Arguments

1 string cvar
Name of console variable
2 any default = nil
The value to return if the console variable does not exist

Returns

1 number
Retrieved value

Page Links


Special Pages


Wikis

?

Render Time: 36ms

DB GetPage 3
Generate Html 10
SaveChanges (1) 9
Render Body 0
Render Sidebar 11