SlashCo Wiki

SlashCo.GetActivePerks

 table SlashCo.GetActivePerks( Player ply )

Description

Returns all active perks equipped by a player.
Active perks are identified by a ! prefix in the player's owned perk string.

Arguments

1Player ply

Player whose active perks should be retrieved

Returns

1table perks

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