# SetPlrMagic

Player
4.6.5.0 CP
int
int player Number of the player whose list of available spells you want to change.
id id ID of the spell.
bool remove Whether to remove the spell.
Adds or removes a magic spell to or from the list of available spells of a player.
var
i = 0; for (var plrnum = GetPlayerCount (); plrnum; i++) if (GetPlayerName (i)) { plrnum--; SetPlrMagic (i, MGHL); }
Makes the Healing spell available to all players.
GetPlrMagic
Günther
2005-02