zombiesurvival-evolved/gamemodes/zombiesurvival/gamemode/noxapi/shared.lua

12 lines
260 B
Lua
Raw Permalink Normal View History

2014-10-02 08:49:54 +08:00
local meta = FindMetaTable("Player")
if not meta then return end
function meta:IsNoxSupporter()
if NDB then
local memberlevel = self:GetMemberLevel()
return memberlevel == MEMBER_GOLD or memberlevel == MEMBER_DIAMOND
end
return self:GetDTBool(15)
2014-10-02 08:49:54 +08:00
end