Client Exports
This section provides all available client exports for the script. These functions allow you to interact directly with the system from the client side, enabling custom features, UI interactions, and integrations with other resources. Each export includes a short description and usage example for easy implementation.
Server Exports
This section provides all available server exports for the script. These functions allow developers to interact with the system from the server side, manage data, trigger actions, and integrate with other resources. Each export includes a clear description and a practical example to simplify its implementation.
The IsPlayerInDM export allows you to check if a specific player (identified by their source) is currently participating in a Deathmatch. This is useful for managing gameplay logic or triggering specific events for players in active matches.
To check if a player is in a Deathmatch, use the following code:
This allows for custom logic to be applied based on the player's status, such as restricting access to certain features or logging their participation.
