Player:GetInfo
Description
Retrieves the value of a client-side ConVar. The ConVar must have a FCVAR_USERINFO flag for this to work.
The returned value is truncated to 31 bytes.
Arguments
Returns
Example
Creates clientside ConVar Apple
and retrieves value of it.
if CLIENT then
CreateConVar( "Apple", "ILikeApples", FCVAR_USERINFO )
else
MsgN( Entity( 1 ):GetInfo( "Apple" ) )
end
Output: ILikeApples