as an alternative, you could try using PLAYER_REMOVE_HERO_TRIGGER:
function RemoveHero(looser, winner)
if(looser == 'Aberrar') then
--checks for mines, etc.
end
end
Trigger(PLAYER_REMOVE_HERO_TRIGGER, id of the desired player, 'RemoveHero')
New here? I'm Roha — want a quick tour?
function RemoveHero(looser, winner)
if(looser == 'Aberrar') then
--checks for mines, etc.
end
end
Trigger(PLAYER_REMOVE_HERO_TRIGGER, id of the desired player, 'RemoveHero')