API
rcore_drunk API
other exports
All exports are used from the client side only.
SetBlockingStatusForDrunk(bool)
IsDrunkBlocked()
Headache
All exports are used from the client side only.
GetPlayerHeadachePercentage()
HasPlayerHeadache()
IsPlayerHeadacheAtPercentage(number)
AddPlayerHeadachePercentage(number)
RemovePlayerHeadachePercentage(number)
SetPlayerHeadachePercentage(number)
Drunk
GetPlayerDrunkPercentage()
IsPlayerDrunkAtLevel(number)
GetPlayerDrunkLevel()
IsPlayerDrunk()
IsPlayerDrunkAtPercentage(number)
AddPlayerDrunkPercentage(number)
RemovePlayerDrunkPercentage(number)
SetPlayerDrunkPercentage(number)
GetMilligramsAlcoholInBlood()
Events (server/client sided)
Last updated