Jump to content

LogPointsTransaction

From CMM Wiki
Revision as of 12:27, 24 June 2026 by Ozdeadmeat (talk | contribs) (LogPointsTransaction – created via PowerShell script (2026-06-24T22:27:08Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: LogPointsTransaction
Function Description:
File Location: cmm.pointsFunctions.lua
Syntax: CMM.LogPointsTransaction( table argTable )
Return Value: nil
Parameters: Name Description
argTableArgTable = {Success<boolean>, UCID<string>, Name<string>, Value<number>, Balance<number>, Note<string>
Example: CMM.CreatePlayerTransactionLogFile({true, "12345", "Ned Flanders", 9001, 10001, "Ned had 1000 points before this transaction"})
Example Description: Enters a transaction into the Player Transaction Log, with the details of a successful transaction for player Ned Flanders (12345) where 9001 points were added to his balance of 10001, with the note "Ned had 1000 points before this transaction"
Related Functions:
Notes:

}