[FREE] Pickle's XP System | Standalone | Works with ESX & QB Multicharacter Identifiers

More Information & Scripts can be found here!

Preview

image

What is this?

This is a standalone XP system, that also supports ESX & QB Multicharacter Identifiers.
This is great for servers who need a simple yet effective XP system for players.

Dependencies

  • MySQL-Async / Ox MySQL.

Exports

Client

GetXPData(void)

GetXPData()

GetXP(name)

local data = GetXP("farming")
print(data.level, data.xp)

GetLevel(name)

local level = GetLevel("farming")
print(level)
Shared

GetLevelXP(name, level)

local nextLevelXP = GetLevelXP("farming", 1)
print(nextLevelXP)

GetCategoryLevel(name)

local level = GetCategoryLevel("farming")
print(level)
Server

AddPlayerXP(source, name, xp)

AddPlayerXP(source, "farming", 1000)

RemovePlayerXP(source, name, xp)

RemovePlayerXP(source, "farming", 1000)

SetPlayerXP(source, name, xp)

SetPlayerXP(source, "farming", 1000)

GetPlayerXPData(source, name)

local data = GetPlayerXPData(source, "farming")
print(data.level, data.xp)

GetPlayerLevel(source, name)

local level = GetPlayerLevel(source, "farming")
print(level)

InitializePlayerXP(source, cb)

InitializePlayerXP(source, function() 
  -- Player initialized.
end)

RegisterXPCategory(name, label, xpStart, xpFactor, maxLevel)

RegisterXPCategory("farming", "Farming", 1000, 0.5, 10)

Installation

  1. Ensure the MySQL resource before “pickle_xp” is ensured in the config.
  2. Restart the server.
  3. Have fun!

Need Support?

Click here!

Ready to Download?

Enjoy!


11 Likes

Amazing release !!

1 Like

WOW, a modern skill system and free? thanks dude!

1 Like

hiii, is basic gta skills preconfigured? (running, shooting)

Nice work ! :fire:

1 Like

nice work pickel as always

1 Like

Thank you all for your kind words!

Amazing! <3

1 Like

good job :slight_smile: <3

1 Like

Update v1.0.2

  • Optimized Calculation of Levels.
  • Removed debug prints.

Download the new update here:

Update v1.0.3

  • Fixed Calculation of Levels.
  • Removed debug prints from the UI.

Download the new update here:

1 Like

What caused it? As soon as I opened the game, it appeared on my console doesn’t work:
Uncaught ReferenceError: $ is not defined (@pickle_xp/nui/assets/js/main.js:57)