Player:GetInfoNum
Description
Retrieves the numeric value of a client-side convar, returns nil if value is not convertible to a number. The ConVar must have a FCVAR_USERINFO flag for this to work.
Arguments
Returns
Example
Creates clientside ConVar 'Apple' and retrieves value of it.
Output:
1Example
Shows difference between Player:GetInfo and Player:GetInfoNum.
Output: number
string
Garry's Mod
Rust
Steamworks
Wiki Help