18.10.2016, 20:24
(
Последний раз редактировалось Showzs; 27.06.2017 в 15:35.
)
RESOLVIDO
OnPlayerUpdate
if(Player[playerid][pViado] == 1)
{
new t = Player[playerid][pViado];
format(string,256,"Viado - %s",Viadoes[t][tNome]);
SetPlayerChatBubble(playerid,string, COR_VIADO, 20.0, 10000);
}
Aqui parзa wiki tem tudo!
https://sampwiki.blast.hk/wiki/SetPlayerChatBubble @OFF kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk mds cara |
else if( pInfo[ i ][ VIPBRONZE ] == 1 ) { SetPlayerChatBubble( i, "Jogador(a) VIP Bronze", 0xBDB76BAA, 30.0, 10000 ); }
Eu queria que ele fosse "Buscar" o nome do clг e o vip do jogador.
Nome do Clг - Jogador(a) VIP. Eu uso assim, mas quando o jogador tem vip a tag do clг desaparece da cabeзa. Код:
else if( pInfo[ i ][ VIPBRONZE ] == 1 ) { SetPlayerChatBubble( i, "Jogador(a) VIP Bronze", 0xBDB76BAA, 30.0, 10000 ); } |
if( pInfo[ playerid ][ VIPBRONZE ] == 1 )
{
SetPlayerChatBubble( playerid, "Jogador(a) VIP Bronze", 0xBDB76BAA, 30.0, 10000 );
}
new Text3D:variavel[MAX_PLAYERS];
...
OnplayerSpawn(playerid)
{
if(IsValidDynamic3DTextLabel(variavel3D[playerid]))
{
DestroyDynamic3DTextLabel(variavel[playerid]);
variavel[playerid] = Text3D:INVALID_3DTEXT_ID;
}
variavel[playerid]= CreateDynamic3DTextLabel("[VIADO MASTER]", GetPlayerColor(playerid), 0.0, 0.0, 0.2, 75.0, playerid, INVALID_VEHICLE_ID, 1, GetPlayerVirtualWorld(playerid), -1, -1, 75.0);
return 1;
}
new Float:vida ; GetPlayerHealth( i, vida ); if( strcmp( playerClan[ i ], "Nenhum", false )) { format( gStr, sizeof( gStr ), "%s - {FFFFFF}Vida {F06666}%.0f", playerClan[ i ], vida ); SetPlayerChatBubble( i, gStr, SetZonaCorCla( clanColor[ i ] ), 30.0, 10000 ); } else { format( gStr, sizeof( gStr ), "Vida {F06666}%.0f", vida ); SetPlayerChatBubble( i, gStr, -1, 30.0, 10000 ); } }