Jump to content

ModifyPlayerPoints

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: ModifyPlayerPoints
Function Description:
File Location: cmm.pointsFunctions.lua
Syntax: CMM.ModifyPlayerPoints( table argTable )
Return Value: boolean,number,string or nil
Parameters: Name Description
argTableArgTable = {Unit, UCID, Points, Note
Example: CMM.ModifyPlayerPoints({[1] = Unit.getByName("PlayerUnit"), [2] = "PlayerUCID", [3] = -1000, [4] = "Spent on a new plane!"})
Example Description: Saves the ServerPoints out to <CMM.PDIR>\POINTS\PlayerServerPoints.json
Related Functions:
Notes:

}