Raised This Month: $32 Target: $400
 8% 

Duration of hudmessage with cvar?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bazhenov93
Veteran Member
Join Date: Oct 2010
Old 04-17-2012 , 19:32   Duration of hudmessage with cvar?
Reply With Quote #1

example: set_hudmessage(r, g, b, 0, cvar_here, 2.5, 0.1, 0.3)
bazhenov93 is offline
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 04-17-2012 , 19:40   Re: Duration of hudmessage with cvar?
Reply With Quote #2

Use get_pcvar_num()
__________________

Last edited by kramesa; 04-17-2012 at 19:40.
kramesa is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-17-2012 , 22:45   Re: Duration of hudmessage with cvar?
Reply With Quote #3

Quote:
Originally Posted by bazhenov93 View Post
example: set_hudmessage(r, g, b, 0, cvar_here, 2.5, 0.1, 0.3)
You know that's not how the parameters are, right?

red, green, blue, x, y, effects, fxtime, holdtime, fadeintime, fadeouttime, channel
__________________
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 04-18-2012 , 00:02   Re: Duration of hudmessage with cvar?
Reply With Quote #4

Yes Exolent ;) i just write fast and just an example

anyway, ty

and about get_pcvar, what?
bazhenov93 is offline
rak
Veteran Member
Join Date: Oct 2011
Location: banned country
Old 04-18-2012 , 00:05   Re: Duration of hudmessage with cvar?
Reply With Quote #5

read the fucking wiki

http://www.amxmodx.org/funcwiki.php?go=func&id=28
__________________

www.amxmodx-es.com

Steam: Luchokoldo
rak is offline
Send a message via MSN to rak Send a message via Skype™ to rak
bazhenov93
Veteran Member
Join Date: Oct 2010
Old 04-18-2012 , 00:07   Re: Duration of hudmessage with cvar?
Reply With Quote #6

rak stop helping me.
bazhenov93 is offline
rak
Veteran Member
Join Date: Oct 2011
Location: banned country
Old 04-18-2012 , 00:12   Re: Duration of hudmessage with cvar?
Reply With Quote #7

Quote:
Originally Posted by bazhenov93 View Post
rak stop helping me.
you don't need help.. you need 1 person to do your code

EDIT; i'm boring, because that.. I do your simple code
__________________

www.amxmodx-es.com

Steam: Luchokoldo

Last edited by rak; 04-18-2012 at 00:13.
rak is offline
Send a message via MSN to rak Send a message via Skype™ to rak
bazhenov93
Veteran Member
Join Date: Oct 2010
Old 04-18-2012 , 00:56   Re: Duration of hudmessage with cvar?
Reply With Quote #8

I said that because I read tutorials! BUT some times I CAN'T understand or I got problems with the code or i'm confused! so i ask for help
bazhenov93 is offline
fearmelfice
Junior Member
Join Date: Apr 2012
Old 04-18-2012 , 01:05   Re: Duration of hudmessage with cvar?
Reply With Quote #9

what about it

new gtime = get_gametime()

set_hudmessage(255, 255, 255, 0.75, 0.90, 0, 6.0, gtime)
fearmelfice is offline
Ortega
Junior Member
Join Date: Nov 2009
Old 04-18-2012 , 09:01   Re: Duration of hudmessage with cvar?
Reply With Quote #10

Quote:
Originally Posted by fearmelfice View Post
what about it

new gtime = get_gametime()

set_hudmessage(255, 255, 255, 0.75, 0.90, 0, 6.0, gtime)
Genius... Did you test your code ?
__________________
Ave duru genus.
Ortega is offline
Reply


Thread Tools
Display Modes

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 22:00.


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