×

OnXpReceived

 

The "OnXpReceived" event is executed as soon as the player gain Xp;

This also provides the following information:

Input:

  • Level - INTEGER - give the player's level after the Xp was gained
  • Xp - INTEGER - give the player's Xp after the Xp was gained
  • Xp Received - INTEGER - gives the XP received at that moment