Raised This Month: $ Target: $400
 0% 

Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: 8guawong
Forum: Scripting 12-25-2017, 02:24
Replies: 18
Views: 2,138
Posted By 8guawong
Re: Question: What is a ConVar.FloatValue's expected value?

glad it worked out for your
also glad i learned something new
didn't even know about TriggerTimer :avast:
Forum: Scripting 12-24-2017, 13:28
Replies: 18
Views: 2,138
Posted By 8guawong
Re: Question: What is a ConVar.FloatValue's expected value?

no you are probably doing something wrong

i was just looking through one of my old plugins and i was creating 0.0 timer and the timer was working

also check the following code

ConVar...
Forum: Scripting 12-24-2017, 02:48
Replies: 18
Views: 2,138
Posted By 8guawong
Re: Question: What is a ConVar.FloatValue's expected value?

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
Forum: Scripting 12-24-2017, 00:45
Replies: 18
Views: 2,138
Posted By 8guawong
Re: Question: What is a ConVar.FloatValue's expected value?

how are you telling if the timer is working or not?
what happen if you add
public Action tAutoTimerUpdatePlayer(Handle timer, any data)
{
PrintToChatAll("timer is working");

do you get...
Forum: Scripting 12-24-2017, 00:04
Replies: 18
Views: 2,138
Posted By 8guawong
Re: Question: What is a ConVar.FloatValue's expected value?

So you are saying
CreateTimer(cvPunishDetectionDelay.FloatValue,... <- does not work
But
CreateTimer(0.1, aAutoTimer <- works?
Forum: Scripting 12-23-2017, 22:17
Replies: 18
Views: 2,138
Posted By 8guawong
Forum: Scripting 12-23-2017, 17:17
Replies: 18
Views: 2,138
Posted By 8guawong
Re: Question: What is a ConVar.FloatValue's expected value?

What do you mean by it doesn't v work
Showing results 1 to 7 of 7

 
Forum Jump

All times are GMT -4. The time now is 00:10.


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