SlashCo Wiki

SlashCo.BuyPerk

  SlashCo.BuyPerk( string perkID )

Description

Requests that the server purchase a perk for the local player.
Does nothing if the player already owns the perk.
The server validates the perk, its price, and the player's level before purchasing it.
Can only be processed while in the lobby.

Arguments

1string perkID

ID of the perk to purchase