dobrograd-13-06-2022/garrysmod/gamemodes/darkrp/gamemode/modules/hungermod/sh_init.lua

3 lines
123 B
Lua
Raw Normal View History

2023-11-16 15:01:19 +05:00
local plyMeta = FindMetaTable("Player")
plyMeta.isCook = fn.Compose{fn.Curry(fn.GetValue, 2)("cook"), plyMeta.getJobTable}