Raised This Month: $ Target: $400
 0% 

Displaying an image


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Drak
Veteran Member
Join Date: Jul 2005
Old 08-15-2007 , 15:31   Re: Displaying an image
Reply With Quote #8

Well for one, you don't have to precache the sprite, the sprites that you can make show-up on the hud are already defined, and precached.
They have names there defined under, like "dmg_gas, dmg_shock,etc etc".
You have to use thoes names.

So change:
Code:
public show(id) {     message_begin(MSG_ONE,iconstatus,{0,0,0},id)     write_byte(1)     write_string(spr)     write_byte(0)     write_byte(255)     write_byte(0)     message_end()     }
To something like:
Code:
public show(id) {     message_begin(MSG_ONE,iconstatus,{0,0,0},id)     write_byte(1)     write_string("dmg_bio")     write_byte(0)     write_byte(255)     write_byte(0)     message_end()     }
__________________
Oh yeah
Drak is offline
Send a message via MSN to Drak
 



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 10:29.


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