Garry's Mod Wiki

ConVar:GetInt

number ConVar:GetInt()

Description

Attempts to convert the ConVar value to a integer.

Returns

1 number
The integer value of the console variable.

If it fails to convert to an integer, it will return 0.

All float/decimal values will be rounded down. ( With math.floor )

Page Links


Special Pages


Wikis

?

Render Time: 22ms

DB GetPage 2
Generate Html 2
SaveChanges (1) 10
Render Body 0
Render Sidebar 5