Garry's Mod

Disable hunger for specific job

Submitted by heret1c, , Thread ID: 238234

Thread Closed
20-03-2022, 09:51 PM
#1
Hey guys, need help.
How to disable hunger (starve) for one specific job (exam: nonrp) ?
Not for all jobs, only one.

RE: Disable hunger for specific job

#2
DarkRP?

hook.Add("hungerUpdate", "BlockHunger", function(ply)
return ply:Team() == TEAM_ADMIN
end)

Users browsing this thread: 1 Guest(s)