Closed 4512369781 closed 3 months ago
should use Convars.GetFloat() replace Convars.GetStr() in ::Left4Utils.GetMaxAmmo
Convars.GetFloat()
Convars.GetStr()
if a Cvar been set to wrong type value, 'Convars.GetStr("CVAR").tointeger();' will throw error: AN ERROR HAS OCCURED [cannot convert the string].
Sorry man i completely missed this one.
should use
Convars.GetFloat()
replaceConvars.GetStr()
in ::Left4Utils.GetMaxAmmoif a Cvar been set to wrong type value, 'Convars.GetStr("CVAR").tointeger();' will throw error: AN ERROR HAS OCCURED [cannot convert the string].