Exports

exports['thug-lean-system']:IsPouring()

Returns whether the player is currently in the pouring animation (true) or not (false).

exports['thug-lean-system']:ForceStopPouring()

Forces the pouring session to stop and cancels the animation. Useful if you need to interrupt the player during cutscenes or other events.

exports['thug-lean-system']:IsMenuOpen()

Returns whether the drink selection menu is currently open (true) or closed (false).

exports['thug-lean-system']:ForceCloseMenu()

Forces the drink selection menu to close. Useful when you need to take over the player's screen or input.

exports['thug-lean-system']:IsDrinking()

Returns whether the player is currently drinking lean (true) or not (false).

exports['thug-lean-system']:ForceStopDrinking()

Forces the player to stop drinking, removes the cup prop, and clears all effects. Useful during arrests, hospital scenes, or any event that should interrupt drinking.

exports['thug-lean-system']:ForceClearEffects()

Clears all active lean effects (timecycle, screen effects, camera shake, slow movement). Does not stop the drinking session itself, only removes the visual and gameplay effects.

Last updated