Raised This Month: $ Target: $400
 0% 

Spite Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
BetaX
Member
Join Date: Nov 2005
Old 12-31-2005 , 03:05  
Reply With Quote #6

The write_* basically fills in what you want the SVC_TEMPENTITY to be.

There's a list somewhere around here if you're not sure what they are. For that, I'll list what each of the bytes/shorts do.


Code:
   write_byte(17) // What kind of tempentity it is, in this case a regular ol' sprite    write_coord(userorigin[id]) // X Coordinate    write_coord(userorigin[id]) // Y Coordinate    write_coord(userorigin[id]) // Z Coordinate    write_short(0) // The spr's name. Giving it 0 means it has none...    write_byte(YourScaleHere) // The scale of the sprite (in 0.1s)    write_byte(brightnessofthesprite) // And, well, the brightness of the sprite.
BetaX 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 16:00.


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