Raised This Month: $ Target: $400
 0% 

set_task with cvars?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ramono
Veteran Member
Join Date: Nov 2005
Location: Netherlands
Old 01-31-2007 , 03:01   Re: set_task with cvars?
Reply With Quote #1

Code:
set_task(float(get_cvar_num("fireballpulse")),"fireballpulsecheck",0,"",0,"b")

or

Code:
set_task(get_cvar_float("fireballpulse"),"fireballpulsecheck",0,"",0,"b")


It has to be a float not a number.

a number = 1
a float = 1.0
__________________
Um, hi.
Ramono is offline
Reply



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 00:43.


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