Skip to content

function setPlayerMaxMana (client-side)

Available since version: 0.3.0

Set a player's maximum mana and clamp current mana if needed.

Declaration

void setPlayerMaxMana(int player_id, int max_mana)

Parameters

  • int player_id: Target player id.
  • int max_mana: New maximum mana.