Category: Player
Since engine version: 1.0 OC
SetPlrMagic
Description
Adds or removes a magic spell to or from the list of available spells of a player.
Syntax
int SetPlrMagic(int player, id id, bool remove);
Parameters
- player:
- Number of the player whose list of available spells you want to change.
- id:
- ID of the spell.
- remove:
- Whether to remove the spell.
See also: GetPlrMagic