for(new x=0; x < MAX_PLAYERS; x++)
{
if(PlayerInfo[x][pAdmin] >= 1)
{
label[x] = Create3DTextLabel("Administrador",0x008080FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(label[x], playerid, 0.0, 0.0, 0.7);
}
if(PlayerInfo[x][pVip] >= 1)
{
label[x] = Create3DTextLabel("*** VIP ***",0x008080FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(label[x], playerid, 0.0, 0.0, 0.7);
}
}
if(PlayerInfo[playerid][pAdmin] >= 1)
{
label[playerid] = Create3DTextLabel("Administrador",0x008080FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.7);
}
if(PlayerInfo[playerid][pVip] >= 1)
{
label[playerid] = Create3DTextLabel("*** VIP ***",0x008080FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.7);
}
if(PlayerInfo[playerid][pAdmin] >= 1)
{
SetPlayerChatBubble( playerid, "Administrador(a)", 0x86DD63FF, 30.0, 10000 );
}
if(PlayerInfo[playerid][pVip] >= 1)
{
SetPlayerChatBubble( playerid, "Jogador (a) VIP", 0x86DD63FF, 30.0, 10000 );
}
for(new x=0; x < MAX_PLAYERS; x++)
{
if(PlayerInfo[x][pAdmin] >= 1)
{
SetPlayerChatBubble( playerid, "Administrador(a)", 0x86DD63FF, 30.0, 10000 );
}
if(PlayerInfo[x][pVip] >= 1)
{
SetPlayerChatBubble( playerid, "Jogador (a) VIP", 0x86DD63FF, 30.0, 10000 );
}
}
pawn Код:
Imagem de como ficara: ![]() |
SetTimer("TextPlayer",1000, true);
forward TextPlayer();
public TextPlayer()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(PlayerInfo[i][pAdmin] > 0)
{
SetPlayerChatBubble(i, "** Administrador **", 0x86DD63FF, 100.0, 10000);
}
if(PlayerInfo[i][pVip] > 0)
{
SetPlayerChatBubble(i, "Player VIP", 0x86DD63FF, 100.0, 10000);
}
}
}