SlashCo Wiki

SlashCo.OwnsPerk

 boolean SlashCo.OwnsPerk( Player ply, string perkID )

Description

Checks whether a player owns a perk.

Arguments

1Player ply

Player to check

2string perkID

ID of the perk to check

Returns

1boolean owns

Whether the player's owned perk string contains the specified perk ID