Raised This Month: $ Target: $400
 0% 

Drug Mod


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
MockingBird
Member
Join Date: Mar 2005
Old 01-14-2007 , 23:38   Re: Drug Mod
Reply With Quote #3

Yea i had a look at that, but then i dont get the write_byte and all that stuff

I found an example of a sprite being written, i was wondering if ne one could explain what each thing did.

Code:
message_begin( MSG_BROADCAST,SVC_TEMPENTITY) // Dont get this
write_byte( 5 ) // 5 - Dont get this
write_coord(vec[0]+x1) // I get that this is the origin
write_coord(vec[1]+y1) // I get that this is the origin
write_coord(vec[2]+30) // I get that this is the origin
write_short( smoke ) // Precached sprite - Get this
write_byte( 10 )  // 10 - Dont get this
write_byte( 15 )  // 10 - Dont get this
message_end()
Thanks again!

Last edited by MockingBird; 01-14-2007 at 23:43.
MockingBird 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 22:28.


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