OTHERPLANET DOCS
CtrlK
  • πŸͺAbout US
  • πŸ’»Scripts
    • πŸ…ΏοΈOP Garages V2
      • Installation
      • Tutorials
        • Vehicles not shown in Garage
        • How to add player to Garage Admin
      • Configuration
      • Customization
      • Housing Integration
      • Garage Admin Usage
      • Admin Commands
      • Plate Changer
      • Sub Owners
      • Currency Change
      • ByPass Vehicle Types
      • Script Integrations
        • nolag-properties
        • ps-housing
        • qs-smartphone
        • lb-phone
        • gks-phone
        • y-series phones
    • πŸ”«OP Crime Organisations
      • Installation
      • Tutorials
        • How to add player to Crime Admin
      • Config Files
      • Customization
      • Tablet as Item
      • Global States
      • Exports
        • Server Side
    • 🎁OP Container Wars
      • Installation
      • Tutorials
        • How to add player to Admin List?
      • Configuration
      • Multiple Rewards
      • Customization
      • Time Zones
    • πŸ—’οΈOP Requests
      • Installation
      • Config
      • Usage
    • πŸŒ‡OP HUD
      • Config File
      • Instalation
      • Progress Bar Usage
      • Notify Usage
      • Alcohol Status & Stamina
    • 🏎️OP Vehicle Theft
      • Installation
      • OX Inventory
      • Translate Sounds
      • Config
      • Customization
Powered by GitBook
On this page
  1. πŸ’»Scripts
  2. πŸŒ‡OP HUD

Alcohol Status & Stamina

If you're using custom script for stamina:

  • Go to utils.lua and change function getPlayerStamina()

How to configurate alcohol status?

  • Set Alcohol status to true in config.lua

  • Go to utils.lua and change function getPlayerAlcohol()

IMPORTANT!! Return value must be from 0 to 100
PreviousNotify UsageNextOP Vehicle Theft

Last updated 1 year ago