Code: Select all
/c script.on_event(defines.events.script_raised_revive, function(event) game.print("Revived") end)
/c game.player.selected.revive{raise_revive=true}
Code: Select all
/c script.on_event(defines.events.script_raised_revive, function(event) game.print("Revived") end)
/c game.player.selected.revive{raise_revive=true}