Skip to main content

mCasino.api.player

mCasino Player API

Functions​

getKiosk​

mCasino.api.player.getKiosk(ply: Player) → Entity?

Returns the kiosk associated with the player

updateGems​

This item only works when running on the server. Server
mCasino.api.player.updateGems(
ply: Player,
callback: (gems: number) → ()
) → ()

Fetches the latest gems for the player