From 0c5d97a214e173a3a51e79ce392d15dbf552327d Mon Sep 17 00:00:00 2001 From: JohnnyS <62607662+JohnnyS@users.noreply.github.com> Date: Mon, 23 May 2022 16:55:15 -0400 Subject: [PATCH] fix(esx_progressbar): Fixed missing }) Also changed a bit of the formatting to make it a bit easier to read for the average joe --- [esx]/esx_progressbar/readme.md | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/[esx]/esx_progressbar/readme.md b/[esx]/esx_progressbar/readme.md index 3fb80e92..e01762be 100644 --- a/[esx]/esx_progressbar/readme.md +++ b/[esx]/esx_progressbar/readme.md @@ -2,11 +2,30 @@ * ESX Function ```lua - ESX.Progressbar("test", 25000,{FreezePlayer = false, animation ={type = "anim",dict = "mini@prostitutes@sexlow_veh", lib ="low_car_sex_to_prop_p2_player" }, onFinish = function() + ESX.Progressbar("test", 25000,{ + FreezePlayer = false, + animation ={ + type = "anim", + dict = "mini@prostitutes@sexlow_veh", + lib ="low_car_sex_to_prop_p2_player" + }, + onFinish = function() + --Code here + end}) ``` * Export ```lua - exports["esx_progressbar"]:Progressbar("test", 25000,{FreezePlayer = false, animation ={type = "anim",dict = "mini@prostitutes@sexlow_veh", lib ="low_car_sex_to_prop_p2_player" }, onFinish = function() + exports["esx_progressbar"]:Progressbar("Unlocking Storage", 3000,{ + FreezePlayer = true, + animation ={ + type = "anim", + dict = "anim@mp_player_intmenu@key_fob@", + lib ="fob_click" + }, + onFinish = function() + --Code here + end}) + ```