Jump to content

FindPlayerName

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (FindPlayerName – created via PowerShell script (2025-11-11T21:12:28Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: FindPlayerName
Function Description: Retrieves the player name associated with a given UCID by checking the player list, returning the name if found or nil if not present.
File Location: cmm.netFunctions.lua
Syntax: CMM.FindPlayerName( string UCID )
Return Value: string or nil
Parameters: Name Description
UCIDThe UCID of the player to look up in the player list.
Example: CMM.FindPlayerName("OzDeaDMeaT")
Example Description: Looks up the player name for the given UCID "OzDeaDMeaT" and returns it if found, otherwise returns nil.
Related Functions:
Notes: