Raised This Month: $ Target: $400
 0% 

TE_PLAYERATTACHMENT sprites help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 01-09-2009 , 14:50   TE_PLAYERATTACHMENT sprites help
Reply With Quote #1

hi , i have 2 sprites one X and another one Y

and i have this code
PHP Code:
new weaponid get_user_weapon(id);
message_begin(MSG_ALLSVC_TEMPENTITY);
write_byte(TE_PLAYERATTACHMENT);
write_byte(id);
write_coord(60);
switch(
weaponid)
{
      case 
CSW_P228:
            
write_short(spriteY);
      case 
CSW_SCOUT
            
write_short(spriteX);


}
write_short(100);
message_end(); 
but doesn't work.. some ideas? :d
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
 


Thread Tools
Display Modes

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 09:18.


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