Skip to content

SetPlayerAlcohol

Sets the player’s blood-alcohol level; the drunk state is judged at once.

Above the threshold the player is drunk on the spot - the game’s drunkenness buff on their character, the sway on the others’ screens, OnPlayerDrunk(pid, true); 0 sobers them (the hangover follows as after a real night).

SetPlayerAlcohol(pid, level)
Parameter Type
pid number the player
level number 0 .. 1

nothing

-- /drunk: a party trick for admins
SetPlayerAlcohol(pid, 0.6)

GetPlayerAlcohol · IsPlayerDrunk · OnPlayerDrunk · the Buffs and the drink group of the index