FiveStar Development
YoutubeCFX forumTebexDiscord
  • 👨‍💻About Us
  • 😊Control Panel ⁽ᶠᵒʳ ᶜᵘˢᵗᵒᵐᵉʳˢ ᵒᶠ ᵗʰᵉ ᵒᶠᶠᶦᶜᶦᵃˡ ˢᶦᵗᵉ⁾
    • 📲Active Redeem Code
    • ⬇️Download Script
    • 👾Create License
    • 📅Expiration date
    • ⬅️Reset Data License
  • 🧾Scripts
    • 🆘FiveStar-HelpMenu
      • 🧠How to Install
      • ⏭️Config Script
    • 🛡️FiveStar-Paintball
      • 😘[ESX]
        • 🧠How to Install
        • ⏭️Config Script
      • 🥰[QB]
        • 🧠How to Install
        • ⏭️Config Script
    • 🔫FiveStar-WeaponShop
      • 😘[ESX]
        • 🧠How to Install
        • ⏭️Config Script
      • 🥰[QB]
        • 🧠How to Install
        • ⏭️Config Script
    • 🔐FiveStar-Security [FREE FOR CUSTOMER]
      • 🧠How to Install
      • ⏭️Config Script
    • 🎟️FiveStar-MissionClub
      • 😘[ESX]
        • 🧠How to Install
        • ⏭️Config Script
      • 🥰[QB]
        • 🧠How to Install
        • ⏭️Config Script
    • 🛒FiveStar-VehicleShop
      • 😘[ESX]
        • 🧠How to Install
        • ⏭️Config Script
      • 🥰[QB]
        • 🧠How to Install
        • ⏭️Config Script
    • 💸FiveStar-Subscribe
      • 😘[ESX]
        • 🧠How to Install
        • ⏭️Config Script
      • 🥰[QB]
        • 🧠How to Install
        • ⏭️Config Script
    • 🚘FiveStar-Garage
      • 😘[ESX]
        • 🧠How to Install
        • ⏭️Config Script
      • 🥰[QB]
        • 🧠How to Install
        • ⏭️Config Script
    • 💋FiveStar-Speedometer [FREE]
      • 🧠How to Install
Powered by GitBook
On this page
  • Requirements
  • Insert SQL
  • Tebex Shop
  • Tebex Secret
  • Placing subscribe properties on server scripts
  • Add License

Was this helpful?

  1. Scripts
  2. FiveStar-Subscribe
  3. [ESX]

How to Install

FiveStar Script

Previous[ESX]NextConfig Script

Last updated 1 year ago

Was this helpful?

Requirements

Before starting, make sure you have the latest version of oxmysql Script installed on your server

Insert SQL

Insert the database.sql file to your SQL server

Tebex Shop

Create a tebex shop for yourself

You can use the following tutorials

Tebex Secret

Placing subscribe properties on server scripts

For this purpose, in each script, you must check that the person has subscribed [Gold or Silver or Bronze]

exports['FiveStar-Subscribe']:CheckSubscribe(ID, SubscribeName)

The first argument of the player id must be entered and the second argument must be the name subscribe

[Example]:

-- ? server side 
RegisterCommand("testsub", function(source)
    local src = source
    local sub = exports['FiveStar-Subscribe']:CheckSubscribe(src, "Gold") -- arg 2 [Gold or Silver or Bronze] | You can only export from the server side
    if type(sub) == "table" then
        print("identifier: "..sub.identifier)
        print("TBX code: "..sub.tbx)
        print("Active: "..sub.active)
        print("category: "..sub.category)
        print("TimeStamp Expaire: "..sub.time)
    else
        TriggerClientEvent('esx:showNotification', src, 'You do not have a subscription')
    end
end)

Add License

Please put your license in server/license.lua | If your script is encrypted, enter your license

You need to create a tebex key for the api script to work |

Link
🧾
💸
😘
🧠
GitHub - overextended/oxmysql: MySQL resource for FXServer.GitHub
Tebex AcademyYouTube
Logo
Logo
Page cover image