×

OnLevelEarned

 

The "OnLevelEarned" event is executed as soon as the player gains a level; it also give the player's level after the level was gained, as well as the player's current XP.

Input:

  • Level - INTEGER - give the player's level after the level was gained
  • Xp - INTEGER - give the player's Xp after the level was gained