Exports
There are two exports, 1 client side & 1 server side exports which are both called hasVIP and can be found in the fxmanifest.lua.
Export Example (Client-Side)
if exports['zp_vip']:hasVIP() > 0 then or if exports['zp_vip']:hasVIP() == 1 then
print('You have vip level 1')
else
print("You don't have vip subscription")
end
Export Example (Server-Side)
if exports['zp_vip']:hasVIP(source) > 0 then or if exports['zp_vip']:hasVIP(source) == 1 then
print('You have vip level 1')
else
print("You don't have vip subscription")
end
Last updated