PHP Code:
public Util_TE_BEAMFOLLOW(id, entity, sprite, life, width, red, green, blue, brightness)
{
message_begin(id ? MSG_ONE : MSG_ALL, SVC_TEMPENTITY, _, id);
write_byte(TE_BEAMFOLLOW);
write_short(entity);
write_short(sprite);
write_byte(life); // life in 0.1's
write_byte(width); // line width in 0.1's
write_byte(red);
write_byte(green);
write_byte(blue);
write_byte(brightness);
message_end();
}
__________________