Exports

Series of exports that can be useful and are good for usage of 3rd party scripts

Client Exports

toggleShop

exports['bs-cs']:toggleShop()

This will toggle the coin shop, either opening or closing it depending on its current state

Server Exports

updateCoins

exports['bs-cs']:updateCoins(target, type, value)

This will update the player's coins based on the type ('add' or 'remove') and the value being the number of coins, this will also return the new value of the players coins.

fetchCoins

exports['bs-cs']:fetchCoins(target)

This will return the player's current number of coins

Last updated