Garry's Mod

Garry's Mod

131 ratings
DarkRP Hunger Stop
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Gamemode
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
1.098 KB
Sep 26, 2016 @ 11:36pm
Feb 25, 2018 @ 8:44am
3 Change Notes ( view )

Subscribe to download
DarkRP Hunger Stop

Description
The activation of module Hungermod on the Gamemode DarkRP gradually starves the players.
It is not obvious to eat during the absence of a cook and can kill us.

This addon blocks hunger only in the absence of a cook.
The admins jobs will also be blocked even with the presence of a cook.

Operation
- Do not forget to put the variable "cook" to "true" for cooks jobs.
- Do not forget to put the variable "admin" greater than 0 for admins jobs.
- The presence of the variable "cook" on an admin job will not consider as a cook.

Hooks
       Name: PlayerCanStarving        Type: Server   Arguments: Player "Player starved", Int "Count cook available"      Return: [Bool] "false / true" Override the base system if the player will be starved or not. Description: Called when a player is about to be starved.

Sorry for my bad English I'm French.
11 Comments
106-A Jan 6, 2018 @ 10:53am 
What are you saying
Shiro Bedo Feb 5, 2017 @ 3:43am 
░█▀▀ ░█▀█ ░█ ░█▀▀ ░░
░█▀▀ ░█▀▀ ░█ ░█ ░░░░
░▀▀▀ ░▀ ░░░▀ ░▀▀▀ ░░
Billal Prisel Oct 15, 2016 @ 2:01pm 
Salam les khey
Nogitsu Oct 15, 2016 @ 7:32am 
Moi aussi hein X)
Alban CHAMPIGNON [GiletJaune] Oct 15, 2016 @ 7:25am 
Bah euh moi aussi j'en fais xD
Karlinov Oct 15, 2016 @ 7:23am 
Super ! Un francophone qui fait des addons ! ENFIN.
Nogitsu Oct 2, 2016 @ 8:57am 
Si tu t'amuses à faire des addons comme ça, un notarget des npc à mettre sur des jobs pourrait être utile ;)
Nogitsu Oct 1, 2016 @ 11:24pm 
Merci de prévenir driven, j'ai réagis ainsi car un petit con s'était déjà amusé à voler ses addons
Alban CHAMPIGNON [GiletJaune] Oct 1, 2016 @ 12:17pm 
T'inquiète, dridri a eu ma bénédiction. :steamhappy:
Driven  [author] Oct 1, 2016 @ 12:13pm 
@Nogitsu : Bonsoir, oui Mohamed Rachid en a fait un effectivement mais il ne coupe pas la faim pour les jobs d'admins. J'ai fait ce code et j'en ai parlé à Mohamed Rachid s'il voulait mettre le ciens à jour avec mon script, il ma répondu que je pouvais l'ajouter sur le workshop donc il n'y a pas de soucis il est au courant ;)