How to use
On this page, we will explain how you should use the resource.
Default commands
Deployment to other resources
local vip = exports['gcm_vips']:getVip()
print(vip)
-- This returns false if the user does not have an active VIP and if they do, it returns the name of the VIP EJ: vip_diamond.local vip = exports['gcm_vips']:getVip(source) -- The only difference with the client is that in this we need to pass the user ID.
print(vip)
-- This returns false if the user does not have an active VIP and if they do, it returns the name of the VIP EJ: vip_diamondExport to give vip status
-- If you need the vip to be lifetime, put the days in 0
exports['gcm_vips']:giveVipUser(src, vip_type, days)Export to get days remaining
Last updated