Var-Documentation
  • 📚Var Documentation
  • 🌎Theme / Translate
    • Change theme
    • Change language
  • 🔓For open source
    • Change UI
  • 👕Clothes Shop
    • Installation
    • 🔩Configuration
      • 🏳️Blips/Marker
      • 📚Translate
      • 📷Change cam and pos
  • 🃏Casino
    • Installation
    • 🔩Configuration
      • 🏳️Main config
      • 🏇Horse
      • 🎡Lucky Whell
      • 📚Translate
  • 🕺Emote
    • Installation
    • 🔩Configuration
      • 🏳️Main config
      • 💃Emote List
      • 📚Translate
  • ⚔️Crew
    • Installation
    • 🪛Export
  • 👮Alert Job
    • Installation
    • 🪛Server Export
  • 🔐Pin Code
    • Installation
    • 🪛Export
  • 🏢Society Manager
    • Installation
    • 🪛Export
    • 🔩Configuration
      • 📚Translate
      • 💵Max salary
      • 📜Last invoice
  • 🏘️Property
    • Installation
    • 🔩Configuration
      • 📚Translate
      • 🖼️Add interior
  • 💈Barber shop
    • Installation
    • 🔩Configuration
      • 🔓Change menu (Open source)
      • 🏳️Blips
      • 📚Translate
      • ✂️Add shop
  • 🛒Shop with basket
    • Installation
    • 🔩Configuration
      • 🍏Item/Category config
      • 🏳️Blips/Marker
      • 📚Translate
      • ➕Add shop
  • 🖋️Tattoo shop
    • Installation
    • 🔩Configuration
      • ✏️Edit Tattoo
      • 🏳️Blips/Marker
      • 📚Translate
      • ➕Add shop
  • 🏡Gardener Job
    • Installation
    • 🔩Configuration
      • ℹ️Change pos farm
      • 🏳️Blips
      • 📚Translate
  • 🏧Heist ATM
    • Installation
    • 🔩Configuration
      • 💰Event money
      • 📚Translate
      • 👮Police alert
  • 🏦Heist Fleeca
    • Installation
    • 🔩Configuration
      • 📚Translate
      • 📍Pos Fleeca Heist
  • 🏙️Poster Job
    • Installation
    • 🔩Configuration
      • ℹ️Change pos farm
      • 🖼️Change poster texture
      • 🏳️Blips/Marker
      • 📚Translate
  • 🖼️Loading Screen
    • Installation
    • ⚙️Configuration
  • 🏦Bank
    • Installation
    • 🔩Configuration
      • 🧍‍♂️Ped
      • 🏳️Blips
      • 📚Translate
      • 🚩Add Bank Pos
      • 🏢Society
  • 🚘AutoCarDealer
    • Installation
    • 🔩Configuration
      • ➕Add Vehicles
      • 📚Translate
      • 🏳️Blips
      • 📍Coords
  • 📸Character Creator
    • Installation
    • 🔩Configuration
      • 📚Translate
      • 😃Expression
      • ⚙️Spawn
  • 👥Multi Character
    • Installation
    • 🔩Configuration
      • 📚Translate
      • 📸Change Character Creator
      • ⚙️Commands
  • 📝Bill
    • Installation
    • 🔩Configuration
      • 📚Translate
      • #️⃣Control
Powered by GitBook
On this page
  • Client Export
  • Client Event : Society:OpenSociety
  • Server Export
  • Server Event : Society:RevokeBill
  • Server Event : Society:DeleteBill
  • Server Event : Society:SendBill
  • Server Event : Society:PayBill
  • Server Callback : Society:GetAllBillSociety
  • Server Callback : Society:GetUnpayedBill
  • Server Callback : Society:GetBillList
  1. Society Manager

Export

Client Export

Client Event : Society:OpenSociety

Opens the society management interface for authorized players by retrieving and displaying various society-related information.

Server Export

Server Event : Society:RevokeBill

Revokes a bill from the society_billing database and notifies both the bill's owner and the player who revoked it.

Parameters :

  • bill: The bill details including id, society, owner_identifier, and value.

Server Event : Society:DeleteBill

Deletes a bill from the society_billing database.

Parameters :

  • bill: The bill details including id.

Server Event : Society:SendBill

Sends a bill to a player and inserts it into the society_billing database.

Parameters :

  • source: The ID of the source player.

  • playerId: The ID of the target player.

  • amount: The amount to be billed.

Server Event : Society:PayBill

Processes the payment of a bill, updates the database, and handles associated transactions.

Parameters :

  • id: The ID of the player paying the bill.

  • target: The identifier of the target player.

  • amount: The amount to be paid.

  • society: The society's identifier.

  • society_name: The society's name.

  • method: The payment method.

Server Callback : Society:GetAllBillSociety

Retrieves all bills for a society that match the specified payment status.

Parameters :

  • source: The ID of the source player.

  • cb: The callback function to return the result.

  • payed: The payment status (true or false).

Server Callback : Society:GetUnpayedBill

Parameters :

  • source: The ID of the source player.

  • cb: The callback function to return the result.

  • playerId: The ID of the target player.

Server Callback : Society:GetBillList

Parameters :

  • source: The ID of the source player.

  • cb: The callback function to return the result.

PreviousInstallationNextConfiguration

Last updated 10 months ago

🏢
🪛