message_begin(MSG_ONE_UNRELIABLE, SVC_TEMPENTITY, _, id)
write_byte(TE_DLIGHT) // TE id
write_coord(origin[0]) // x
write_coord(origin[1]) // y
write_coord(origin[2]) // z
write_byte(radius) // radius
write_byte(color_red) // r
write_byte(color_green) // g
write_byte(color_blue) // b
write_byte(get_gametime()) // life
write_byte(0) // decay rate
message_end()