Raised This Month: $51 Target: $400
 12% 

Duration of hudmessage with cvar?


Post New Thread Reply   
 
Thread Tools Display Modes
bazhenov93
Veteran Member
Join Date: Oct 2010
Old 05-19-2012 , 01:03   Re: Duration of hudmessage with cvar?
Reply With Quote #11

So? Currently v of AMXX don't alow it right?

Coz I think this will not work

new htime

htime = register_cvar("htime", "5")

set_hudmessage(0,255,0, -1.0, 0.35, 2, htime, 3.0, 0.1, 1.5)
show_hudmessage(id, "yada yada xD, this msg will gone in %s", htime)
bazhenov93 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-19-2012 , 01:22   Re: Duration of hudmessage with cvar?
Reply With Quote #12

Fixed.

PHP Code:
new Float:hud_time get_pcvar_float(htime)

set_hudmessage(0,255,0, -1.00.352hud_time3.00.11.5)
show_hudmessage(id"yada yada xD, this msg will gone in %f"hud_time
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
bazhenov93
Veteran Member
Join Date: Oct 2010
Old 05-19-2012 , 02:13   Re: Duration of hudmessage with cvar?
Reply With Quote #13

awww yeah
bazhenov93 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 19:23.


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