Giter Club home page Giter Club logo

renzu_hygiene's Introduction

renzu_hygiene

Fivem Hygiene System - ( Shower, Poop, Pee ) image

Feature ๐Ÿ’ฉ

  • Add Poop Status if Hunger status is added (status) ex. eating burger
  • Add Pee Status if Thirst status is added (status) ex. drinking water
  • Hygiene is Decreasing over a time you can config it @config.lua
  • Bad Hygiene Player ( zero hygiene status ) will be swarmed by FLIES.
  • Player nearby to Bad Hygiene Player will gain a stress status and reduced a little of health.

Sample Config

{pos = vector3(-803.74468994141,335.79489135742,220.9154486084), particle = "ent_amb_car_wash_jet", xRot = -180.0, nextWait = 0, h=257.05}, -- this one is IPL from bob_74 ipl

Installation and Setup

  • Step 1
  • Download renzu_hygiene
  • Download renzu_hud
  • Download renzu_status
  • Download renzu_notify
  • Step 2
  • Copy the config renzu_hygiene/renzu_hud_config/status.lua to -> renzu_hud/conf/status.lua

Coords config

  • when setting up a coordinates
  • heading is important to poo and shower
  • just copy the current corrdinates example: if you are near to toilet and shower heading must be looking to the shower/toilet.
  • adjusting original Z for shower a + 0.5 will do

important at config to setup

config.poostatus = 'poop' -- registered status name
config.peestatus = 'pee' -- registered status name
config.hygienestatus  = 'hygiene' -- registered status name
config.badhygienestatus_effect = 'stress' -- a status name to be affected if your hygiene is 0 (other player will experience this not the bad hygiened player)
config.badhygiene_effect_value = 1000 -- value to remove/add in status if some bad hygiened player is nearby
config.badhygiene_hp_effect = 3 -- minus this value to players sorrounding hp
config.thirst_to_pee = 50 -- thirst to pee convertion, pee will add if you gain thirst (ex. from drinking water item)
config.hunger_to_poo = 50 -- hunger to poo convertion, poo will add if you gain hunger (ex. from eating burger item)

Dependency

optional

  • edit renzu_hud/conf/status.lua
  • set all hygiene/poo/pee status to hideifmax = true
  • the status will only show if its 50%

renzu_hygiene's People

Contributors

renzuzu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

renzu_hygiene's Issues

[ADDING STATUS]

I add the hygiene, stress, pee and poo to my hud but know im in the part to set in game i dont know if u understand me.

esx_status? esx_basicneeds? sql?

qb-target

Hi renzuzu
Love the script just was wondering if you would be able to add the option to use qb-target so if a server is using that the popui don't show? I have had a go at trying to do it but I'm new to scripting & obviously didn't work it out.

pee dont stop by other players

Hey Renzu :)

I use all u scripts in this time she soooo amazing :D

i have only by hygiene that problem i goo poop and in one from 5 poops pee i out my mouth xD make i /pee stop it by me only by other player pee i all time xD Great Job renzu lg dave

renzu_status

How i can disable the minimal status hud on the left side in the map
renzu_status
pls help me Thanks for your nice work

Unable to add new Toilet and Shower

Hello i be unable to add a new toilet and shower in Custom MLO. How have the pos code look that the Toilet and Shower work can you give me an example pls? I have add this:

config.enablepropbase = true -- prop base toilet and showers , for housing purpose
config.showerprop = { -- prop list add as many as you want
'ligoshower', -- custom prop
{pos = vector3(-1523.51,113.88,55.77), particle = "ent_amb_car_wash_jet", xRot = -180.0, nextWait = 0, h=133.66},
{pos = vector3(-1532.94,108.26,60.91), particle = "ent_amb_car_wash_jet", xRot = -180.0, nextWait = 0, h=44.17},
}
config.toiletprop = { -- prop list add as many as you want
'prop_toilet_01',
{pos = vector3(-1520.19,114.53,55.65), particle = "ent_amb_car_wash_jet", xRot = -180.0, nextWait = 0, h=217.42},
{pos = vector3(-1551.16,149.45,56.47), particle = "ent_amb_car_wash_jet", xRot = -180.0, nextWait = 0, h=17.1},
{pos = vector3(-1526.04,108.36,60.8), particle = "ent_amb_car_wash_jet", xRot = -180.0, nextWait = 0, h=135.25},

Can you Help me pls
config.lua.txt
?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.