mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:08:54 +00:00
formatting(core): Format all
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
local CurrentProgress = nil
|
||||
|
||||
local function Progressbar(message,length,Options)
|
||||
local function Progressbar(message, length, Options)
|
||||
if CurrentProgress then
|
||||
return false
|
||||
end
|
||||
@@ -8,7 +8,7 @@ local function Progressbar(message,length,Options)
|
||||
if CurrentProgress.animation then
|
||||
if CurrentProgress.animation.type == "anim" then
|
||||
ESX.Streaming.RequestAnimDict(CurrentProgress.animation.dict, function()
|
||||
TaskPlayAnim(ESX.PlayerData.ped, CurrentProgress.animation.dict, CurrentProgress.animation.lib, 1.0, 1.0, length, 1, 1.0, false,false,false)
|
||||
TaskPlayAnim(ESX.PlayerData.ped, CurrentProgress.animation.dict, CurrentProgress.animation.lib, 1.0, 1.0, length, 1, 1.0, false, false, false)
|
||||
RemoveAnimDict(CurrentProgress.animation.dict)
|
||||
end)
|
||||
elseif CurrentProgress.animation.type == "Scenario" then
|
||||
|
||||
@@ -2,7 +2,7 @@ fx_version 'adamant'
|
||||
game 'gta5'
|
||||
author 'ESX-Framework'
|
||||
lua54 'yes'
|
||||
version '1.9.4'
|
||||
version '1.9.5'
|
||||
description 'ESX Progressbar'
|
||||
|
||||
client_scripts { 'Progress.lua' }
|
||||
|
||||
Reference in New Issue
Block a user