SA-MP Forums Archive
Progress Bar Timer - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Progress Bar Timer (/showthread.php?tid=633754)



Progress Bar Timer - ChandraLouis - 06.05.2017

I followed a tutorial on how to create a captureable gangzone, and succesfully made one.
The only problem is, i can't create a progress bar with timer on capturing the zone.

Can someone show me the code, please?


Re: Progress Bar Timer - raydx - 06.05.2017

https://github.com/Southclaws/progress2

Create progress bar, show it when capturing, set timer and use SetPlayerProgressBarValue inside.


Re: Progress Bar Timer - ChandraLouis - 07.05.2017

Can't find the exact position to create the progress bar.
Код:
PlayerBar:CreatePlayerProgressBar(playerid, Float:x, Float:y, Float:width = 55.5, Float:height = 3.2, colour, Float:max = 100.0, direction = BAR_DIRECTION_RIGHT)
That's why i need your helps.
I want it to be shown above the minimap.


Re: Progress Bar Timer - Fairuz - 07.05.2017

There is progress bar editor.
https://pastebin.com/esKhTeKf