RemovePlayerBuff
Takes a buff off the player.
Removes the server’s record and every copy of the buff on the player’s character, including ones the game gave by itself.
Syntax
Section titled “Syntax”RemovePlayerBuff(pid, buff)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
buff |
string | number | the buff’s name, id or GUID |
Returns
Section titled “Returns”boolean - true when the key resolved and the player is connected
Example
Section titled “Example”RemovePlayerBuff(pid, "well_rested")See also
Section titled “See also”GivePlayerBuff · ClearPlayerBuffs · the Buffs and the drink group of the index
