ID:261957
 
Heres the code:
mob
verb
mobAttack(mob/M in oview(1))
set category = "Skills"
set name = "Attack(Hit)"
flick("sparfury",usr)
if(istype(M,/mob/monster))
if(M.str == -33) usr << "<I><font color = blue>You Cant attack"
else
if(M.str == 0) usr << "There not a pker."
else
if(usr.Stamina <= 1) usr << "You need to rest."
else
if(usr.flight == 1) usr << "Not while flying!"
else
M.DeathCheck()
sleep(7)
usr.Stamina-=2
usr.attacking = 0
usr.icon_state = ""
view() << "<font color = red>[src]<font color = aqua> Attacks <font color = red>[M]"
M.hp -= usr.hp
M.DeathCheck()
if(istype(M,/mob/player))
if(M.str == -33) usr << "<I><font color = blue>You Cant attack"
else
if(usr.Stamina <= 1) usr << "You need to rest."
else
if(usr.flight == 1) usr << "Not while flying!"
else
view() << "<font color = red>[src]<font color = aqua> Attacks <font color = red>[M]"
usr.icon_state = "attack"
M.hp -= usr.hp
M.DeathCheck()
sleep(7)
usr.Stamina-=2
usr.attacking = 0
usr.icon_state = ""
if(istype(M,/mob/player))
M.powerlevelRefresh()
M.DeathCheck()

I Think the problem is here..
    view() << "<font color = red>[src]<font color = aqua> Attacks <font color = red>[M]"
Because when i attack a monster it just says Vash_616 Attacks Then no name i dont know whats wrong could someone tell me?
Possibly your first DeathCheck deletes the mob. A deleted mob has no name.