Thread: Solar Flash
View Single Post
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-30-2008 , 14:18   Re: Solar Flash
Reply With Quote #2

You shouldn't change duration this way, you should make a "factor" cvar, then increase or decrease original duration.

Also, your duration conversion should be :
PHP Code:
// convert seconds to units
convert(num) return clamp((num * (1<<12)), 00xFFFF
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline