View Single Post
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 12-24-2017 , 03:00   Re: Question: What is a ConVar.FloatValue's expected value?
Reply With Quote #13

Quote:
Originally Posted by 8guawong View Post
if(cvPunishDetectionDelay.IntValue != 0) <-- maybe this is where it's wrong LOL

try

if(cvPunishDetectionDelay.FloatValue != 0.0

maybe IntValue automatically round down to 0
I started thinking that too when I posted the code here. I'll try this out. XD
__________________
Psyk0tik is offline