Drunk System

20.00 EUR

Package Description

This resource uses escrow Fivem protection.

Dependencies

  • Onesync
  • MySQL

Feature list:

  • It contains a minigame when two guys compete against each other who can drink more Super Vodka ™ rcore
  • Backwards compatibility with "esx_status" / "qb_smallresources"
  • A Player can take self alcohol test to see how drunk he is.
  • Police can request citizens to take alcohol tests (players can refuse)
  • Each player has different toughness which means certain players can fall more often than the others because they're more "weak" against the alcohol effect. Some players are tanks and can withstand more alcohol without falling to the ground!
  • Players can carry bottles in their hands and chill outside with homies each alcohol can be sipped x amount of time. For example, you can drink up beer up to 5x times before you finish the bottle!
  • There is 3D text above players head with his drunk level status such like: "  * Breath smells like alcohol *,  * Passed out and smells like an alcohol *, etc.

Working alcohol around map-like from online/singleplayer!
You can drink alcohol from tables just like online/single! (look down in the gif gallery to see how it looks)

What working type you can expect? 

  1. Whiskey
  2. Wine
  3. Beer


Player effects when drunk

  • Funny walking
  • Motion blur enables
  • Shaking camera
  • Screen effect
  • Hearing world echo
  • Vomiting
  • Can pass out for a certain amount of time.
  • When driving the steering wheel moves softly randomly left / right
  • Random events in vehicle example: Suddenly press brake, gas, etc.
  • When running and being drunk at the same time there is a chance you might fall down same applies to jumping
  • When aiming with a gun and being drunk you may by accident pressing the trigger and shoot (whoopsie)
  • Walking upstairs / hill / downstairs becomes more difficult! There is more chance that you may fall to the ground!

Withdrawal  
Yes, the player will have a proper headache.

  • Random effects on screen such like
    • Blackout
    • shaking cam for a few seconds (simulation headache)
    • granulation (like when you get up fast)


Boring  stuff for developers
The resource contains API to use, I will just list here all exports.

Headache
  • GetPlayerHeadachePercentage() 
  • HasPlayerHeadache() 
  • IsPlayerHeadacheAtPercentage(float number) 
  • AddPlayerHeadachePercentage(float number)
  • RemovePlayerHeadachePercentage(float number) 
  • SetPlayerHeadachePercentage(float number) 

Drunk

  • GetPlayerDrunkPercentage()
  • IsPlayerDrunkAtLevel(float number)
  • GetPlayerDrunkLevel()
  • IsPlayerDrunk()
  • IsPlayerDrunkAtPercentage(float number)
  • AddPlayerDrunkPercentage(float number)
  • RemovePlayerDrunkPercentage(float number)
  • SetPlayerDrunkPercentage(float number)

Gallery showcase


Gifs

dzif_1.gif

dzif_0.gif

dzif_3.gif

dzif_2.gif

Images

86471f1c7bff004a2899d54ea033ada6d2af4686.png

181cf5eb23f7282892e795669a8c26611c4c1369.png

bd84c34daa74637067f854a5c594e9edc921c919.png


Minigame showcase match


{youtube|https://www.youtube.com/embed/pbNzEL3Deug}