Jump to content

FindPlayerInfo

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (FindPlayerInfo – 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: FindPlayerInfo
Function Description: Retrieves the full player information table for a given player name by searching the player list, returning the player info if found or an empty table if not present.
File Location: cmm.netFunctions.lua
Syntax: CMM.FindPlayerInfo( string PlayerName )
Return Value: table
Parameters: Name Description
PlayerNameThe name of the player to look up in the player list.
Example: CMM.FindPlayerInfo("OzDeaDMeaT")
Example Description: Looks up the player information for the name "OzDeaDMeaT" and returns the full player data if found, otherwise returns an empty table.
Related Functions:
Notes: