Skip to content

function setPlayerMana (server-side)

Available since version: 0.1.3

This function will set the player mana points for all players.

Declaration

void setPlayerMana(int id, int mana)

Parameters

  • int id: the player id.
  • int mana: the mana points amount.