Event id for updating run energy (the run points depicted next to the minimap). Calls the OnRunEnergyTransmitCallback.
-- Create a functionlocal runEnergy = function(energy) osrs.printf("Players run energy: %i", energy)end-- Subscribe to the functionosrs.Events.subscribe(runEnergy, osrs.Events.ON_RUN_ENERGY_TRANSMIT) Copy
-- Create a functionlocal runEnergy = function(energy) osrs.printf("Players run energy: %i", energy)end-- Subscribe to the functionosrs.Events.subscribe(runEnergy, osrs.Events.ON_RUN_ENERGY_TRANSMIT)
Event id for updating run energy (the run points depicted next to the minimap). Calls the OnRunEnergyTransmitCallback.
Example