Raised This Month: $ Target: $400
 0% 

How to display a sprite in HUD?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jon
Veteran Member
Join Date: Dec 2007
Old 10-31-2009 , 15:24   Re: How to display a sprite in HUD?
Reply With Quote #1

http://wiki.amxmodx.org/Half-Life_1_...nts#StatusIcon

PHP Code:
g_iMsgStatusIcon get_user_msgid"StatusIcon" );

UTIL_StatusIconiClientiShouldDrawszIcon[ ], iRediGreeniBlue )
{
    
message_beginMSG_ONEg_iMsgStatusIcon_iClient )
    
write_byteiShouldDraw );
    
write_stringszIcon );
    
write_byteiRed );
    
write_byteiGreen );
    
write_byteiBlue );
    
message_end( );

You can't use any sprite you want though -> http://forums.alliedmods.net/showthread.php?t=52529

Last edited by Jon; 10-31-2009 at 15:27.
Jon is offline
Old 10-31-2009, 15:29
<VeCo>
This message has been deleted by <VeCo>. Reason: Jon shows that
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 17:48.


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