SlashCo Wiki

SlashCo.GetOwnedPerks

 table SlashCo.GetOwnedPerks( Player ply )

Description

Returns all perks owned by a player.
Active perks are included and have their leading ! removed from the returned IDs.

Arguments

1Player ply

Player whose owned perks should be retrieved

Returns

1table perks

Table of owned perk IDs with their perk definitions indexed by ID