FindPlayerInfo
Appearance
| 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 |
| PlayerName | The 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: | ||