Raised This Month: $ Target: $400
 0% 

Once again : Sprites =)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
hellraser
Member
Join Date: Jul 2004
Old 02-24-2005 , 06:31   Once again : Sprites =)
Reply With Quote #1

Hey all,today i'm trying to draw sprites on client hud so here's my code:
Code:
public testspr()  {
new sprite;
sprite = precache_model("sprites/TEST.spr");
message_begin(MSG_BROADCAST,SVC_TEMPENTITY);
write_byte(17);
write_coord(10); // coord, coord, coord (position)
write_coord(10);
write_coord(10);
write_short(sprite); // short (sprite index)
write_byte(20); // byte (scale in 0.1's)  
write_byte(200); // byte (brightness)
message_end();
}
And that actually doesn't do anything...I remeber once seeing a list of all base sprites included in CS but i can't find it anymore,could you guys please hook me up??

Thx,
hellraser 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 14:01.


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