View Single Post
Author Message
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 12-23-2017 , 14:16   Question: What is a ConVar.FloatValue's expected value?
Reply With Quote #1

I'm using this in my code:

PHP Code:
hPunishTimer CreateTimer(cvPunishDetectionDelay.FloatValueaAutoTimerUpdatePlayer_TIMER_REPEAT); 
I noticed that something wasn't working and tracked it down to the cvPunishDetectionDelay.FloatValue. Currently, my cfg file has that value set to 0.1, however, when I set it to something like 1.0 or 5.5, the timer works.

So why is it that 0.1 doesn't work but 1.0/5.5 does? Is it because 0.1 is basically close to 0 or something else?
__________________

Last edited by Psyk0tik; 12-24-2017 at 07:03. Reason: Marked as [Solved]
Psyk0tik is offline