IsPlayerDrunk
Whether the player is drunk.
Syntax
Section titled “Syntax”IsPlayerDrunk(pid)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
Returns
Section titled “Returns”boolean
Example
Section titled “Example”if IsPlayerDrunk(pid) then return false end -- no duels drunkSee also
Section titled “See also”GetPlayerAlcohol · OnPlayerDrunk · the Buffs and the drink group of the index
