progress bar don't show - 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 don't show (
/showthread.php?tid=616331)
progress bar don't show -
Mister0 - 03.09.2016
I simple create the bar but I don't understand where I mistake by he not show
Код:
#include <progress>
static Bar:player_gym_progress[MAX_PLAYERS] = {INVALID_BAR_ID, ...},// I try and without {INVALID_BAR_ID, ...} don't tell me to remove
Onplayerconnect
Код:
player_gym_progress[playerid]=CreateProgressBar( 548.5, 36.0, _, _, 0x00FF00FF, 1000.0);//550.000000, 166.000000,55.5, 3.2,0x00F900FF, 100.0);
On my code onplayerkeystatechange to be exactly
Код:
SetProgressBarValue(player_gym_progress[playerid],50);
ShowProgressBarForPlayer( playerid,player_gym_progress[playerid]);
but he don't show what is wrong?
Re: progress bar don't show -
Mister0 - 03.09.2016
bump up
no one know?
Re: progress bar don't show -
jwh - 04.09.2016
Mind sharing the code for CreateProgressBar() to better assist you.
Re: progress bar don't show -
Sew_Sumi - 04.09.2016
Are you maybe using the outdated setup?
https://sampforum.blast.hk/showthread.php?tid=537468