Raised This Month: $ Target: $400
 0% 

Solved get_pcvar_float() and ColorChat.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
LondoN
Senior Member
Join Date: Dec 2015
Location: Roman, Romania.
Old 01-18-2021 , 06:21   Re: get_pcvar_float() and ColorChat.
Reply With Quote #3

ColorChat(index, "your value is %d", floatround(get_pcvar_float(g_iCvarVariable))) ;

floatround(15.0) -> returns 15
floatround(15.5) -> returns 16

Hope i'd helped you!
__________________
LondoN is offline
 



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 14:11.


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