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!