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

12 lines
258 B
Lua
Raw 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._SUPPORTER_
end