FindPlayerName
Appearance
| 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 |
| UCID | The 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: | ||