This repository has been archived by the owner on Apr 26, 2022. It is now read-only.
v1.2.0
Fixes
- Wait for player to spawn before initialising resource
- Fix leaderboard if no players found
- Fix UI not hiding after timeout
Changes
- Added
esx_xp:ready
event to allow user to wait for resource to be ready for use
AddEventHandler("esx_xp:ready", function(data)
local currentXP = data.xp
local currentRank = data.rank
local xPlayer = data.player
-- esx_xp is ready for use
end)