Raised This Month: $ Target: $400
 0% 

How to display a sprite in HUD?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hzqst
Senior Member
Join Date: Jul 2008
Old 10-30-2009 , 10:04   How to display a sprite in HUD?
Reply With Quote #1

I can be sure it's possible
hzqst is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 10-30-2009 , 10:11   Re: How to display a sprite in HUD?
Reply With Quote #2

write_byte with a sprite into it?
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
vitorrd
Senior Member
Join Date: Jul 2009
Old 10-30-2009 , 10:26   Re: How to display a sprite in HUD?
Reply With Quote #3

Quote:
Originally Posted by Owyn View Post
write_byte with a sprite into it?
Wow! You just got the SGotD prize! Congratulations, you are our newest Stupid Guy of the Day.
vitorrd is offline
Jon
Veteran Member
Join Date: Dec 2007
Old 10-31-2009 , 15:24   Re: How to display a sprite in HUD?
Reply With Quote #4

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
Jon
Veteran Member
Join Date: Dec 2007
Old 10-31-2009 , 15:29   Re: How to display a sprite in HUD?
Reply With Quote #6

Go to the link. You'll see:

Quote:
Anyway, i saw some request with list of all incons;
There is..
Jon 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 17:48.


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