Portal SAMP
[Ajuda] desativar tag SetPlayerChatBubble - Versão de Impressão

+- Portal SAMP (https://portalsamp.com)
+-- Fórum: SA-MP (https://portalsamp.com/forumdisplay.php?fid=5)
+--- Fórum: Área de suporte (https://portalsamp.com/forumdisplay.php?fid=6)
+--- Tópico: [Ajuda] desativar tag SetPlayerChatBubble (/showthread.php?tid=4967)



desativar tag SetPlayerChatBubble - fear - 01/02/2025

boa noite.

teria como desativar a tag emcima do player??

codigo das tags
Código PHP:
forward AttTags(playerid);
public 
AttTags(playerid) {
    switch (
PlayerInfo[playerid][cargo]) {
        case 
1:
        
SetPlayerChatBubble(playerid"[ZP] - {1E90FF}POLICIAL"0x1E90FFFF30.010000);
        case 
2:
        
SetPlayerChatBubble(playerid"[ZP] - {FFFF00}BANDIDO"0xFFFF00FF30.010000);
        case 
3:
        
SetPlayerChatBubble(playerid"[ZP] - {FF0000}MATADOR"0xFF0000FF30.010000);
        case 
4:
        
SetPlayerChatBubble(playerid"[ZP] - {90EE90}DRIFTER"0x90EE90FF30.010000);
        case 
5:
        
SetPlayerChatBubble(playerid"[ZP] - {00FF7F}FUGA"0x00FF7FFF30.010000);
    }
    if (
PlayerInfo[playerid][modoon2] == false) {
        switch (
PlayerInfo[playerid][CargoZone]) {
            case 
1:
            
SetPlayerChatBubble(playerid"[ZP] - {FF0000}YOUTUBER"0xFFFFFFFF30.010000);
            case 
2:
            
SetPlayerChatBubble(playerid"[ZP] - {FFA500}TIKTOKER"0xFFFFFFFF30.010000);
        }
        if (
PlayerInfo[playerid][modoon] == false) {
            switch (
PlayerInfo[playerid][Admin]) {
                case 
1:
                
SetPlayerChatBubble(playerid"[ZP] - {EEDD82}AJUDANTE"0xFFFFFFFF30.010000);
                case 
2:
                
SetPlayerChatBubble(playerid"[ZP] - {804000}MODERADOR"0xFFFFFFFF30.010000);
                case 
3:
                
SetPlayerChatBubble(playerid"[ZP] - {0080C0}COORDENADOR"0xFFFFFFFF30.010000);
                case 
4:
                
SetPlayerChatBubble(playerid"[ZP] - {800080}GERENTE"0xFFFFFFFF30.010000);
                case 
5:
                
SetPlayerChatBubble(playerid"[ZP] - {00FF00}FUNDADOR"0xFFFFFFFF30.010000);
            }
        }
    }

    return 
1;


tipo um /tagoff que desativa e ativa a tag emcima do player. para poder gravar videos.


RE: desativar tag SetPlayerChatBubble - White_Blue - 01/02/2025

Em vez de usar SetPlayerChatBubble para tags, use 3D Text labels.

https://sampwiki.blast.hk/wiki/CreatePlayer3DTextLabel - https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer


RE: desativar tag SetPlayerChatBubble - fear - 01/02/2025

(01/02/2025 21:43)White_Blue Escreveu: Em vez de usar SetPlayerChatBubble para tags, use 3D Text labels.

https://sampwiki.blast.hk/wiki/CreatePlayer3DTextLabel - https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer

Nao tem como usar assim? pq ali quando eu coloco text3d ele nao compila.


RE: desativar tag SetPlayerChatBubble - BitSain - 02/02/2025

Na verdade, se não compila é por que há erros.
Mostre-os aqui