client
var
obj/something
obj/O=new
mob
var
color
proc/Someproc()
for(var/client/C)
if(C.Something)
var/icon/R = icon('Some_Thing.dmi',"Something")
R.DrawBox(rgb(0,128,0),0,0,32,32)
R.DrawBox(rgb(255,255,255), 17, 17-3, 17, 17+3)
R.DrawBox(rgb(255,255,255), 17-3, 17, 17+3, 17)
for(var/mob/M in world)
if(get_dist(C.mob,M) < 20 && C.mob.z == M.z && C.mob != M)
var/x = 16-(C.mob.x - M.x)+1
var/y = 16-(C.mob.y - M.y)+1
R.DrawBox(M.color, x-1, y-1, x+1, y+1)
C.something.icon = R
spawn(1)
Someproc()
You get a cookie for finding out what this means. You get 2 cookies for finding out where I found this code.
[edit] You all copy pasted from me!
[edit2] Where are my damn cookies?