Re: Question ammount
Quote:
Originally Posted by xPaw
(Post 855700)
Read his post again
|
Maybe you'll read my post again. Or read this:
Quote:
Originally Posted by tpt
(Post 855443)
It won't work because he is trying to get integer value with get_pcvar_float.
|
He said it wouldn't work because the cvar's value is integer and he's using get_pcvar_float. And that's not the reason why the plugin isn't working. It returns the value as float properly and after that the error happens when the native set_user_rendering gets the float instead of an integer value. There's nothing wrong using get_pcvar_float even the cvar value is integer, cause it works as good as if the cvar would be "120.0".
|