13/09/2023 03:45
(12/09/2023 20:34)Mist Escreveu: e desse tipo voce saber como resolver?
warning 213: tag mismatch: expected tag "PlayerText", but found none ("_")
enum E_BAR_DATA
{
bool:pbar_show,
Float:pbar_posX,
Float:pbar_posY,
Float:pbar_width,
Float:pbar_height,
pbar_colour,
Float:pbar_maxValue,
Float:pbar_progressValue,
pbar_direction
}
enum E_BAR_TEXT_DRAW
{
pbar_back,
pbar_fill,
pbar_main
}
static pbar_Data[MAX_PLAYERS][MAX_PLAYER_BARS][E_BAR_DATA];
static pbar_TextDraw[MAX_PLAYERS][MAX_PLAYER_BARS][E_BAR_TEXT_DRAW];
se tive a include progress2 e progress para melhorar
Lembrando que as progress bars são textdraws, então a variável que vai armazenar a mesma deve conter a tag PlayerText.
Código PHP:
static pbar_Data[MAX_PLAYERS][MAX_PLAYER_BARS][E_BAR_DATA];
static PlayerText:pbar_TextDraw[MAX_PLAYERS][MAX_PLAYER_BARS][E_BAR_TEXT_DRAW];
Não estou disponível para realizar serviços relacionados ao SA-MP e não costumo responder a mensagens privadas, a menos que estejam relacionadas à moderação do fórum.