BHD Scripts
  • 📚Documentation
  • Scripts
    • 🖥️BHD Bossmenu
      • Dependencies
      • Instalation
      • Configuration
        • Society Money Log
      • Errors
    • 🚗BHD Garage
      • Dependencies
      • Instalation
      • Configuration
      • Server Configuration
      • Commands
      • Errors
      • Developer Options
        • Exports
          • Client Exports
          • Server Exports
            • Vehicle Object
        • Events
        • Editable Files
          • Client
          • Server
            • editable_server.lua
            • functions.lua
        • Vehicle Images
    • 📜BHD MOT
      • Dependencies
      • Instalation
      • Configuration
    • 🐾BHD Animal Tracker
      • Dependencies
      • Instalation
      • Configuration
Powered by GitBook
On this page
  • Syntax
  • Arguments
  • Example usage
  • Notes
  1. Scripts
  2. BHD Bossmenu
  3. Configuration

Society Money Log

If you want to see society money, you need to trigger this event on the server side every time there is a money change with society funds.

Syntax

TriggerEvent("bhd_bossmenu:societyMoneyLog", message, jobName, type, salary)

Ensure the event is triggered only server-side

Arguments

  • message: A description of the transaction or event.

  • jobName: The job or organization associated with the event.

  • type: The type of transaction (e.g., "income" or "outcome").

  • salary: The amount of money involved in the transaction.

Example usage

local message = "Roy Parker purchased new vehicle"
local jobName = "skup1"
local type = "outcome"
local salary = 154000
TriggerEvent("bhd_bossmenu:societyMoneyLog", message, jobName, type, salary)

Notes

  • Ensure this event is triggered on the server side to prevent synchronization issues.

  • Validate all arguments before triggering the event

PreviousConfigurationNextErrors

Last updated 6 months ago

🖥️