dobrograd-13-06-2022/garrysmod/gamemodes/darkrp/gamemode/modules/hungermod/sh_interface.lua
Jonny_Bro (Nikita) e4d5311906 first commit
2023-11-16 15:01:19 +05:00

14 lines
325 B
Lua

DarkRP.PLAYER.isCook = DarkRP.stub{
name = "isCook",
description = "Whether this player is a cook. This function is only available if hungermod is enabled.",
parameters = {
},
returns = {
{
name = "answer",
description = "Whether this player is a cook.",
type = "boolean"
}
},
metatable = DarkRP.PLAYER
}