Expotrs
Server Client 👨🏻💼
➤UseAlcomat 🥃
Triggers the function that starts the breathalyzer for the player.
Description: This export triggers the breathalyzer, functioning the same as the item in the config.
Usage Example:
➤GetDrunkLevel 🍻
Returns the player's current alcohol intoxication level in promilles.
Description: Returns the player's alcohol intoxication level in promilles.
Usage Example:
➤SetDrunkLevel 🍺
Sets the player's alcohol intoxication level in promilles.
Description: Sets the player's alcohol intoxication level in promilles. For example, 0.5 promilles, 1.2 promilles, etc.
Usage Example:
➤ClearAllAlcoEffect 🚫
Removes all alcohol effects and causes the player to sober up.
Description: Removes all alcohol-related effects from the player, causing them to sober up.
Usage Example:
➤ClearClientStomachById 🧑⚕️
Triggers a stomach lavage function by a person (e.g., paramedic) on the player with the given ID.
Description: This function triggers a stomach lavage process performed by a person (e.g., a paramedic) on the player with the specified ID.
Usage Example:
➤RefreshAlcoEffect 🔄
Refreshes the alcohol effects on the player.
Description: Refreshes the player's alcohol effects, which is useful in cases where other scripts (e.g., car crash effects) might remove the alcohol effect. This export should be used in such cases.
Usage Example:
Last updated