Raised This Month: $ Target: $400
 0% 

Time for an explosive like c4 timer


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fearAR
Veteran Member
Join Date: Oct 2010
Old 06-24-2011 , 11:37   Re: Time for an explosive like c4 timer
Reply With Quote #1

I was trying and I used a Variable, It decreases when entity thinks, and when entity thinks It plays a sound like C4, but I want to show all players a Hudmessage.

For play sound nearer when time passes I use "square root" with variable what decreases, and I was thinking in take a percentage, like it:

sqroot of 35.0 = 100%

sqroot of Timer = x

I use Simple three rule, to take percentage, thanks for help.
fearAR is offline
Send a message via MSN to fearAR
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 23:30.


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