Ok...I have this as a code....I want it to have it so when the player dies...he/she goes to 40,80,2 ....but when I try it and their hp gets to 0...they just sit there and nothing happens...someone tell me whats wrong please..thanks...
Die()
if (istype(src, /mob/monsters))
if(src.hp <= 0)
world << "[usr.name] finished off [src]."
usr.exp += src.worthexp
LevelUp()
del(src)
if (istype(src, /mob/characters/))
if(usr.hp <= 1)
usr.hp = 1
usr.loc = locate(40,80,2)
ID:150940
![]() Jun 30 2001, 6:23 am
|
|