zombiesurvival-evolved/gamemodes/zombiesurvival/gamemode/noxapi/shared.lua
JetBoom 11c4a73414 First noxapi implementation. No functionality yet.
This is a test to see if the cache feature is working and the API calls
are within reasonable amounts.
2014-12-19 08:08:12 -05:00

11 lines
260 B
Lua

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)
end