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)

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

Last updated