Raised This Month: $ Target: $400
 0% 

Hud problems


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
stupok
Veteran Member
Join Date: Feb 2006
Old 01-22-2007 , 17:11   Re: Hud problems
Reply With Quote #2

Try changing:
Code:
set_hudmessage(...,...,...,...,...,0,0.0,99.9,0.0,0.0,1)

to

Code:
set_hudmessage(...,...,...,...,...,0,0.0,99.9,0.0,0.0,-1)

If that doesn't work, you might have to use variables instead of get_cvar_num(), get_cvar_float(). Haven't tried it myself.

Code:
new r, g, b, Float:x, Float:y r = get_cvar_num("rp_economyhud_red") g = get_cvar_num("rp_economyhud_green") b = get_cvar_num("rp_economyhud_blue") x = get_cvar_float("rp_economyhud_pos_x") y = get_cvar_float("rp_economyhud_pos_y") set_hudmessage(r, g, b, x, y, 0, 0.0, 99.9, 0.0, 0.0, -1)

I'd put the set and show hudmessage functions outside of the if() to see if hud is really the problem.
stupok 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 22:29.


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