AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to display a sprite in HUD? (https://forums.alliedmods.net/showthread.php?t=107786)

hzqst 10-30-2009 10:04

How to display a sprite in HUD?
 
I can be sure it's possible

Owyn 10-30-2009 10:11

Re: How to display a sprite in HUD?
 
write_byte with a sprite into it?

vitorrd 10-30-2009 10:26

Re: How to display a sprite in HUD?
 
Quote:

Originally Posted by Owyn (Post 975999)
write_byte with a sprite into it?

Wow! You just got the SGotD prize! Congratulations, you are our newest Stupid Guy of the Day.

Jon 10-31-2009 15:24

Re: How to display a sprite in HUD?
 
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

Jon 10-31-2009 15:29

Re: How to display a sprite in HUD?
 
Go to the link. You'll see:

Quote:

Anyway, i saw some request with list of all incons;
There is..


All times are GMT -4. The time now is 17:48.

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