1.
Code:
while((ent = find_ent_in_sphere(ent,origin,radius)) != 0) {
if(!is_user_connected(ent)) continue;
}
2.
Code:
new ent, body;
get_user_aiming(id,ent,body);
Shorter alternatives for the win. Seriously, we have find_ent_in_sphere for a reason, use it.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS