Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

v1.2.0

Compare
Choose a tag to compare
@Mobius1 Mobius1 released this 10 Oct 07:38
· 31 commits to master since this release

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)