SetPlrMagic
Category: Player
Since engine version: 4.6.5.0 CP
Description
Adds or removes a magic spell to or from the list of available spells of a player.
Syntax
int SetPlrMagic
(int iPlr, id id, bool Remove);
Parameters
- iPlr:
-
Number of the player whose list of available spells you want to change
- id:
-
ID of the spell
- Remove:
-
Whether to remove the spell
Example
Günther, February 2005