Server Exports
Server Exports
WithdrawMoney
Withdraw money from a society account.
---@param jobName string Registered job or gang name, e.g. 'police' / 'ballas'
---@param amount number Amount of money to withdraw
---@return boolean success True if withdrawal succeeded, false otherwise
exports['g-bossmenu']:WithdrawMoney(jobName, amount)DepositMoney
Deposit money into a society account.
---@param jobName string Registered job or gang name, e.g. 'police' / 'ballas'
---@param amount number Amount of money to deposit
---@return boolean success True if deposit succeeded, false otherwise
exports['g-bossmenu']:DepositMoney(jobName, amount)GetSocietyMoney
Get society account balance.
---@param jobName string Registered job or gang name, e.g. 'police' / 'ballas'
---@return number balance Current balance of the society account
exports['g-bossmenu']:GetSocietyMoney(jobName)CreateTransactionLog
Create a new transaction log entry for a society.
GetTotalReportsByJob
Get total number of player reports for a specific job.
GetAllReportsByJob
Get all player reports under a specific job.
GetPlayerReportById
Get a player report by its unique ID.
CreatePlayerReport
Create a new player report entry.
DeletePlayerReport
Delete a player report by ID.
GetReportsByIdentifier
Get all reports submitted by a specific player.
GetTotalEmployeeLeaves
Get total number of employee leave requests for a specific job.
GetEmployeeLeaveById
Get a specific employee leave request by ID.
GetLeavesByIdentifier
Get all leave requests submitted by a specific player.
CreateEmployeeLeave
Create a new employee leave request.
DeleteEmployeeLeave
Delete a leave request by ID.
GetAllJobVehicles
Get all vehicles registered under a specific job.
GetPlayerJobVehicles
Get all vehicles owned by a specific player within a job.
AddJobVehicle
Add a new job vehicle for a player.
RemoveJobVehicle
Remove a player’s job vehicle by its plate.
GetJobVehicleByPlate
Get job vehicle details by plate
GetTotalJobApplications
Get total number of job applications for a specific job
GetAllJobApplications
Get all job applications for a specific job
GetJobApplicationById
Get a specific job application by ID
CreateJobApplication
Create a new job application
GetApplicationsByIdentifier
Get all applications submitted by a specific player
Last updated