LogPointsTransaction
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | LogPointsTransaction | |
| Function Description: | ||
| File Location: | cmm.pointsFunctions.lua | |
| Syntax: | CMM.LogPointsTransaction( table argTable ) | |
| Return Value: | nil | |
| Parameters: | Name | Description |
| argTable | ArgTable = {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: | ||
}