Update readme.md

This commit is contained in:
Benzo
2022-05-05 00:09:53 +02:00
committed by GitHub
parent 05765969dd
commit 9a9f8dcd45
+2 -10
View File
@@ -1,15 +1,7 @@
## Use
* true = freeze player, turn it to false if u dont want it to freeze player
* Without Animation
```lua
ESX.Progressbar("Text Here", 3000, true ,{animation = {},onFinish = function() print("Finish") end})
```
ESX.Progressbar("test", 25000,{FreezePlayer = false, animation ={type = "anim",dict = "mini@prostitutes@sexlow_veh", lib ="low_car_sex_to_prop_p2_player" }, onFinish = function()
* With Animation
```lua
* ESX.Progressbar("Text Here", 3000, true ,{animation ={type = "anim" ,dict = animdicthere , lib = animnamehere },onFinish = function() print("Finish") end})
```
```