Pickle Mods
  • Pickle Mods
  • Paid Resources
    • Casinos
      • Installation
      • Tutorial
    • In-Game Store
      • Installation
      • Exports
      • Tebex & Coin Products
      • PTS Commands
    • Rewards System
      • Installation
      • Exports
      • Snippets
    • Bail & Bounty
      • Installation
      • Exports
    • Firefighter Job
      • Installation
      • Commands
      • Exports
      • Snippets
    • Advanced Crafting
      • Installation
    • Electrician Job
      • Installation
    • Construction Job
      • Installation
    • Hunting
      • Installation
    • Documents
      • Installation
      • Exports & Examples
    • Dealership
      • Installation
    • Police Tools
      • Installation
  • Free Resources
    • Pickle Airport
      • Installation
      • Hotfixes
    • Pickle Consumables
      • Installation
      • Hotfixes
    • Pickle Farming
      • Installation
    • Pickle Metal Detector
      • Installation
    • Pickle Payments
      • Installation
    • Pickle Prisons
      • Installation
      • Commands
      • Exports
      • Events
      • Snippets
    • Pickle Rentals
      • Installation
    • Pickle Slapboxing
      • Installation
    • Pickle Taxi Job
      • Installation
    • Waypoints
      • Installation
      • Exports
Powered by GitBook
On this page
  • Server-Side:
  • Client-Side:
  1. Paid Resources
  2. In-Game Store

Exports

Server-Side:

exports.pickle_store:AddCoins(source, amount, [optional] origin)
--Adds coins for the player with the source.
-- Optionally, origin allows you to pass a reason to the discord log webhook.
arguments: source, amount, [optional] origin
exports.pickle_store:RemoveCoins(source, amount, [optional] origin)
--Removes coins for the player with the source.
-- Optionally, origin allows you to pass a reason to the discord log webhook.
arguments: source, amount, [optional] origin
exports.pickle_store:GetCoins(source)
-- Gets the player's coins by source.
arguments: source
exports.pickle_store:GetUserInfo(source)
-- Gets the player's raw user info (coins, spins, identifiers, etc).
arguments: source

Client-Side:

TriggerClientEvent("pickle_store:openStore", source)
--Opens the menu.
arguments: source
PreviousInstallationNextTebex & Coin Products

Last updated 3 months ago