Floatround?
So I saw another thread in scripting help about showing a hud to dead people saying how much time is left in the map. I tried doing that, but with floatround, I keep getting a tag mismatch error. Fysiks said there is something else wrong with the code? What's wrong with it?
Thanks Code:
/* Plugin generated by AMXX-Studio */ |
Re: Floatround?
PHP Code:
|
Re: Floatround?
First, what does %02d do?
Also, if I do timeleft /60 as the first %d, won't that show a decimal? |
Re: Floatround?
Quote:
%d and %i both show only integers and not floating point numbers (which you are refering to as "decimal") |
Re: Floatround?
K, is there anything I can optimize?
Code:
/* Plugin generated by AMXX-Studio */ |
Re: Floatround?
There would be less code if you just show that to everyone (index = 0)
|
Re: Floatround?
Quote:
Quote:
|
| All times are GMT -4. The time now is 22:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.