I created a laser for one player:
PHP Code:
message_begin(MSG_ONE, SVC_TEMPENTITY, _, player);
write_byte(TE_BEAMENTS);
write_short(ent); // start entity
write_short(player); // entity
write_short(sprite); // precached sprite
write_byte(10); // starting frame
write_byte(15); // frame rate
write_byte(250); // life in 0.1's so 30 should = 3 seconds
write_byte(60); // line width
write_byte(0); // noise amplitude
write_byte(255); // r, g, b
write_byte(128); // r, g, b
write_byte(0); // r, g, b
write_byte(255); // brightness
write_byte(30); // scroll speed
message_end();
How to remove it on demand?