AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Hungermod and /Switchjob (https://forums.alliedmods.net/showthread.php?t=56492)

Mike Johnson 06-14-2007 17:42

Hungermod and /Switchjob
 
Alright so I have been wanting to add the "Hunger" feature to my server for quite some time, and being the one-dimensional server owner that I am, I searched the forums for "hungermod, hunger." After unsuccessful searches I came to realize that the addition of hunger was simply an addition of lines of coding added to your HarbuAlpha.sma and your Harbuconfig.cfg, or something like that. Regardless of which, my question is simply; how does one add the hunger feature, in which a player dies after reaching X% hunger, and what is required for the feature to fully function?

My other question address an in game command known to me as /switchjob. Players alerted me to its existance when suggesting that cops should have an off-duty job which can be done by simply typing /switchjob if the plugin or code is installed. Would anyone know how to make the /switchjob function work via a plugin or code?

--If you can give me some help I'd greatly appreciate it, and if i'm just being a nub that didn't scan every section or the forums for a solution I apologize in advance. Thanks.

Rolnaaba 06-15-2007 11:49

Re: Hungermod and /Switchjob
 
My SewerMOnster plugin has a hunger feature where the monster must eat unless he dies, maybe you code wait for its release and reverse engineer it? as for the /switchjob thing...wtf are you talking about, and what game is this?

CactusJack 07-14-2007 00:58

Re: Hungermod and /Switchjob
 
Here you go http://plugin.harbu.org/viewtopic.ph...ghlight=hunger


All times are GMT -4. The time now is 10:33.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.