SA-MP Forums Archive
[Ajuda] SetPlayerChatBubble - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] SetPlayerChatBubble (/showthread.php?tid=566669)



SetPlayerChatBubble - iDeagle_Hurley - 07.03.2015

Eai galera blz ? entгo estou com um pequeno problema estou criando uns setplayerchatbubble
fiz 2 atй agora , na qual eu gostaria de deixar um assim estou tentando criar - lo sу que nгo
aparece o nome em cima, o cуdigo estб correto ? era pra quando o player logasse
ele procura se o player й de alguma org e automaticamente aparecer o nome da org
em cima do jogador, sу que com o cуdigo que fiz nгo estб aparecendo, eu coloquei-o
em Onplayerspawn .. +REP!!!

PHP код:
if(PlayerInfo[playerid][pMembro] != || PlayerInfo[playerid][pLider] != 0)
    {
                new 
string[150];
        
SetPlayerChatBubble(playerid""COR_TEXTO100.0100000);
        
format(stringsizeof(string), "%s"NomeORG(playerid));
        
SetPlayerChatBubble(playeridstringCOR_TEXTO150.0100);
        
PlayerInfo[playerid][pTituloOrg] = 1;
    } 



Re: SetPlayerChatBubble - arakuta - 07.03.2015

Porque vocк colocou o parвmetro do tempo de duraзгo 100ms. Vai sumir antes mesmo de vocк conseguir ver.

Aumente este tempo.

https://sampwiki.blast.hk/wiki/SetPlayerChatBubble

PS: O primeiro SetPlayerChatBubble que vocк usou й inъtil.


Re: SetPlayerChatBubble - iDeagle_Hurley - 07.03.2015

Quote:
Originally Posted by arakuta
Посмотреть сообщение
Porque vocк colocou o parвmetro do tempo de duraзгo 100ms. Vai sumir antes mesmo de vocк conseguir ver.

Aumente este tempo.

https://sampwiki.blast.hk/wiki/SetPlayerChatBubble

PS: O primeiro SetPlayerChatBubble que vocк usou й inъtil.
Entendi, vou ter que fazer setplayerchatbubble por cada organizaзгo ou pmembro 0 e plider 0
jб localiza todas ?


Re: SetPlayerChatBubble - CaioTesio - 07.03.2015

Quote:
Originally Posted by iDeagle_Hurley
Посмотреть сообщение
Entendi, vou ter que fazer setplayerchatbubble por cada organizaзгo ou pmembro 0 e plider 0
jб localiza todas ?
Crie uma variavel para verificar se o player й lider ou membro.


Re: SetPlayerChatBubble - Whoo - 07.03.2015

Utilize Attach3DTextLabelToPlayer