GKSHOP
Web StoreDiscord
  • 👋GKSHOP Documentation
  • INFORMATION
    • ⁉️FAQ
    • 💡Discord Roles
    • ⚠️FiveM Asset Escrow System
  • GKSPHONE v2
    • 📔Installation
    • ❓Documentation
    • 👷Exports
      • Client
      • Server
    • 🪛Custom App
    • Configuration
      • Unique phones
      • Custom inventory
      • Custom Wallpapers
      • Custom ringtones and notifications
      • Apps
      • Currency
    • Common Issues
    • 🚒Job Center
  • GKSPHONE v1
    • 📱ESX
      • 📔Installation
      • ❓Documentation
      • Application Usages
      • Developers
        • Server Event
        • Client Event
    • 📱QB
      • 📔Installation
      • ❓Documentation
      • Application Usages
      • Developers
        • Server Event
        • Client Event
  • Other Products
    • ⚒️GKSCRAFT
      • 📘Installation
      • Config
      • Developers
        • Server Event
    • ⛽GKS FUEL
      • 📔Installation
      • Config
      • Exports
    • 📸Media Services (GKSMEDIA)
    • 📲GKSPHONE Real App
  • OTHER
    • Policy
      • Privacy Policy
Powered by GitBook
On this page
  • Finding Craft Levels
  • Adding XP to the player
  1. Other Products
  2. GKSCRAFT
  3. Developers

Server Event

You will find server events of gkscraft that you can use in this page.

Finding Craft Levels

identifier => identifier for ESX, citizenid for QB-Core

local PlayerLvl = exports["gkscraft"]:IsCraftLevel(identifier)
print(PlayerLvl) => as 0 or PlayerLevel

Adding XP to the player

identifier => identifier for ESX, citizenid for QB-Core

XP => How many XP will be added on top of the Crafting XP

exports["gkscraft"]:AddCraftXP(identifier, 200)
PreviousDevelopersNextGKS FUEL

Last updated 2 years ago

⚒️