Skip to content

RemovePlayerPerk

Takes a perk from the player’s character.

perk as for AddPlayerPerk. Taking a perk the character does not hold is fine.

RemovePlayerPerk(pid, perk)
Parameter Type
pid number the player
perk string a perk GUID, or its name or English name

boolean - false for a name the server cannot resolve (a GUID always passes), or a player not connected

-- a curse takes the stride away
RemovePlayerPerk(pid, "Marathon Runner")

AddPlayerPerk · HasPlayerPerk · GetPlayerPerks · the Stats, skills, XP and perks group of the index