Garry's Mod Wiki

Revision Difference

ConVar:SetInt#514270

<function name="SetInt" parent="ConVar" type="classfunc">⤶ <description>Sets a ConVar's value to the input number after converting it to an integer. This can only be ran on ConVars created from within Lua.</description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="value" type="number">Value to set the ConVar to.</arg>⤶ </args>⤶ </function>⤶ ⤶