proc
Death(mob/M)
if(src.Health <= 0)
if(usr.team == "Red")
src.loc=locate (15,21,1)
bluekills+=1
if(src.team == "Blue")
src.loc=locate (18,4,1)
redkills+=1
if(usr.team == "Blue")
var/spot = rand(1,4)
if(spot == 1)
src.loc=locate (18,4,1)
if(spot == 2)
src.loc=locate (18,5,1)
if(spot == 3)
src.loc=locate (19,4,1)
if(spot == 4)
src.loc=locate (19,5,1)
if(src.team == "Red")
var/spot = rand(1,4)
if(spot == 1)
src.loc=locate (15,21,1)
if(spot == 2)
src.loc=locate (16,21,1)
if(spot == 3)
src.loc=locate (15,20,1)
if(spot == 4)
src.loc=locate (16,20,1)
else
src.Health = src.maxHealth
src.deaths +=1
M.kills +=1
world << "[src] has been killed by [M]!"
if(src.intank == 1)
if(src.armor <=0)
usr.icon = 'Stick.dmi'
world << "[M] has destroyed [src]'s Tank!!"
usr.intank = 0:
<b>you or the other player do not die i tryed every thing i could think of:</b>
if(src.Health <= 0) - is your problem
Try
if(src.Health < 1)