Code:
new Float:mins[3], Float:maxs[3];
pev(ent,pev_absmin,mins);
pev(ent,pev_absmax,maxs);
message_begin(MSG_BROADCAST,SVC_TEMPENTITY);
write_byte(31); // TE_BOX
write_coord(floatround(mins[0])); // boxmins
write_coord(floatround(mins[1]));
write_coord(floatround(mins[2]));
write_coord(floatround(maxs[0])); // boxmaxs
write_coord(floatround(maxs[1]));
write_coord(floatround(maxs[2]));
write_short(100); // life in 0.1 s
write_byte(255); // r
write_byte(0); // g
write_byte(0); // b
message_end();
If you display a lot of these, all of the dots might not actually appear. To allocate more dots, add this to your game launch parameters: "-particles 65000"
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS