Skip to content

function getPlayerMana (server-side)

Available since version: 0.1.3

This function will get the player/npc mana points.

Declaration

int|null getPlayerMana(int id)

Parameters

  • int id: the player id.

Returns int|null

the mana points amount or null if player isn't created.