SA-MP Forums Archive
Progress Bar [Help] - 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 [Help] (/showthread.php?tid=611651)



Progress Bar [Help] - DavidGravelli - 09.07.2016

Hi Guys Today i made a progress bar health and when i add it to the script its not showing?
Please can anyone help me
I add that to the script
to GameModeInit
pawn Код:
new Bar:health = CreateProgressBar(542.00, 379.00, 55.50, 10.20, -16776961, 100.0);
SetProgressBarValue(health, 50.0);
ShowProgressBarForAll(health);
+rep who help me


Re: Progress Bar [Help] - DavidGravelli - 09.07.2016

Nevermind i fix the problem i must add it on OnPlayerConnect
Lock the thread.