Raised This Month: $ Target: $400
 0% 

How to make the HUD always displayed and updated?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
a8966338
Junior Member
Join Date: Jun 2011
Old 06-23-2012 , 01:16   How to make the HUD always displayed and updated?
Reply With Quote #1

PHP Code:
#include <amxmodx>
#include <cstrike>
#include <fun>


public plugin_init()
{
register_plugin("testing""1.0""Testing")
register_clcmd("say /test""test")
}


public 
test(id)
{
new 
money cs_get_user_money(id)
if( 
money >= 0)
{
set_hudmessage(255000.360.5406.012.0)
show_hudmessage(id"%d"money)



}
else
{
client_print(idprint_chat"you don't have money")


}

How to make the HUD always displayed and updated?
I hope it is always displayed on the screen
Not for some time to disappear
If the money to change, how to make the HUD also follow the change?
a8966338 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 06:14.


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