24.01.2018, 22:15
Criei umas barras de progresso utilizando progress2
o codigo estб assim
Inicio no gm
OnPlayerConnect
OnPlayerSpawn
Mas nгo aparece quando spawna. oq pode ser?
o codigo estб assim
Inicio no gm
Quote:
new PlayerBar:Fome[MAX_PLAYERS]; new PlayerBar:Sede[MAX_PLAYERS]; new PlayerBar:Sono[MAX_PLAYERS]; |
Quote:
Fome[playerid] = CreatePlayerProgressBar(playerid, 584.000000, 373.000000, 44.000000, 4.199999, -16776961, 100.0000, 0); Sede[playerid] = CreatePlayerProgressBar(playerid, 584.000000, 394.000000, 44.000000, 4.199999, 65535, 100.0000, 0); Sono[playerid] = CreatePlayerProgressBar(playerid, 584.000000, 415.000000, 44.000000, 4.199999, 872363007, 100.0000, 0); |
Quote:
ShowPlayerProgressBar(playerid, Sede[playerid]); ShowPlayerProgressBar(playerid, Sono[playerid]); ShowPlayerProgressBar(playerid, Fome[playerid]); |