hasEmailAccount
The hasEmailAccount export checks if a player is logged into the Mail app and returns a boolean value (true
or false
). This can be used to verify if the player has an active email account in the app.
How to Use
To check if a player is logged into the Mail app, use the following code:
Parameters
source: The player's source ID.
This export is useful for implementing logic that requires players to be logged into their email account, such as receiving mail or sending messages. It ensures functionality is tied to the player's active email status.
Last updated