Quote:
Originally Posted by SnoW
Maybe 60 for cords isn't enough?  Here's little example:
Code:
message_begin(MSG_ ,SVC_TEMPENTITY)
write_byte(0)
write_coord() // start position
write_coord()
write_coord()
write_coord() // end position
write_coord()
write_coord()
write_short() // sprite index
write_byte() // starting frame
write_byte() // frame rate in 0.1's
write_byte() // life in 0.1's
write_byte() // line width in 0.1's
write_byte() // noise amplitude in 0.01's
write_byte() // Red
write_byte() // Green
write_byte() // Blue
write_byte() // brightness
write_byte() // scroll speed in 0.1's
message_end()
|
what the .. is that? a full te playerattachment is like this
PHP Code:
message_begin(MSG_ALL, SVC_TEMPENTITY);
write_byte(TE_PLAYERATTACHMENT);
write_byte(index);
write_coord(60);
write_short(sprite);
write_short(time);
message_end();
__________________