🪛Export
Client Export
Client Event : Society:OpenSociety
Society:OpenSocietyOpens the society management interface for authorized players by retrieving and displaying various society-related information.
Server Export
Server Event : Society:RevokeBill
Society:RevokeBillRevokes 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 includingid,society,owner_identifier, andvalue.
Server Event : Society:DeleteBill
Society:DeleteBillDeletes a bill from the society_billing database.
Parameters :
bill: The bill details includingid.
Server Event : Society:SendBill
Society:SendBillSends 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
Society:PayBillProcesses 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
Society:GetAllBillSocietyRetrieves 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
Society:GetUnpayedBillParameters :
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
Society:GetBillListParameters :
source: The ID of the source player.cb: The callback function to return the result.
Last updated