SlashCo Wiki

Player:SetOwnedPerks

  Player:SetOwnedPerks( string ownedPerks )

Description

Sets the player's raw owned-perks string directly.
Kept in sync with the player's saved OwnedPerks database stat by SlashCo.BuyPerk/SlashCo.EnablePerk/SlashCo.DisablePerk - you should use those instead of calling this directly.
This function is created by the DTVar Networking System system.

This is used internally - although you're able to use it you probably shouldn't.

Arguments

1string ownedPerks

The value to set.