Raised This Month: $12 Target: $400
 3% 

Solved Question: What is a ConVar.FloatValue's expected value?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:46.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode