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

15 lines
325 B
Lua
Raw Normal View History

2023-11-16 15:01:19 +05:00
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
}