mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 09:18:53 +00:00
Merge pull request #272 from JohnnyS/patch-1
fix(esx_progressbar): Fixed missing })
This commit is contained in:
@@ -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})
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user