05.07.2013, 21:05
Quote:
no, because those are the coordonates of the Progress bar, ( x, y) i mean on the screan...
|
PHP код:
new Bar:TestBar[MAX_PLAYERS];
//OnGameModeInit:
TestBar[playerid] = CreateProgressBar(488.00, 404.00, 145.50, 9.19, 16711776, 100.0);//Shouldn't it be playerid?
//I changed [playerid].
//OnPlayerConnect:
SetProgressBarValue(TestBar[playerid],50.0);
ShowProgressBarForPlayer(playerid,TestBar[playerid]);