SA-MP Forums Archive
[Ajuda] Create3DTextLabel no Action. - 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] Create3DTextLabel no Action. (/showthread.php?tid=627567)



Create3DTextLabel no Action. - JhefTFJ - 29.01.2017

Olб amigos, hoje vim atravйs deste tуpico aqui para tirar uma duvida com vocкs, bom eu criei um Action ela e quem fica no caixa da loja, sу que pra nгo deixar apenas aquela boneca parada ali sem nada de explicaзгo, decidi criar uma Create3DTextLabel para setar um nome na mesma posiзгo a onde ela estб, e eu queria saber se e possнvel colocar minha "Create3DTextLabel" Acima da cabeзa dela porque fica ao meio da barriga do action.

PHP код:
Create3DTextLabel("Mariana",0xFF0000FF,1382.2349,796.0721,10.8280,20.0,0); 
Help +REP


Re: Create3DTextLabel no Action. - didimk157 - 29.01.2017

й tipo isso daqui mn mais como n sei mexer no que vc quer apenas tenho a base

PHP код:
         if(Player[i][Reporter]>=1)
        {
            
SetPlayerChatBubble(i,"Reporter Facзхes Nine - RJ"COR_REPORTER20.02000);
        } 



Re: Create3DTextLabel no Action. - JhefTFJ - 29.01.2017

Quote:
Originally Posted by didimk157
Посмотреть сообщение
й tipo isso daqui mn mais como n sei mexer no que vc quer apenas tenho a base

PHP код:
         if(Player[i][Reporter]>=1)
        {
            
SetPlayerChatBubble(i,"Reporter Facзхes Nine - RJ"COR_REPORTER20.02000);
        } 
Nгo intendi oque quis dizer com estй cуdigo, eu quero setar um volume acima da cabeзa do action...


Re: Create3DTextLabel no Action. - didimk157 - 29.01.2017

No caso um nome ?


Re: Create3DTextLabel no Action. - JhefTFJ - 29.01.2017

Quote:
Originally Posted by didimk157
Посмотреть сообщение
No caso um nome ?
Mano nгo e melhor deixar pra quem intende ? afz


Re: Create3DTextLabel no Action. - Carlos001 - 29.01.2017

Isso?
PHP код:
new Text3D:TextNPC;
OnGameModeInit:
TextNPC Create3DTextLabel("Nome"0xD2B48CFF30.040.050.040.000);
OnplayerSpawn:
if(
IsPlayerNPC(playerid))
{
Attach3DTextLabelToPlayer(TextNPCplayerid0.00.00.5);
return 
1;




Re: Create3DTextLabel no Action. - Whoo - 29.01.2017

Ja que a Label esta na barriga no action vocк pode aumentar a coordenada Z ate ficar aonde deseja


Re: Create3DTextLabel no Action. - JhefTFJ - 29.01.2017

Quote:
Originally Posted by Carlos001
Посмотреть сообщение
Isso?
PHP код:
new Text3D:TextNPC;
OnGameModeInit:
TextNPC Create3DTextLabel("Nome"0xD2B48CFF30.040.050.040.000);
OnplayerSpawn:
if(
IsPlayerNPC(playerid))
{
Attach3DTextLabelToPlayer(TextNPCplayerid0.00.00.5);
return 
1;

Presta com Action? pq tou criando action e nгo NPC


Re: Create3DTextLabel no Action. - Carlos001 - 29.01.2017

Quote:
Originally Posted by JhefTFJ
Посмотреть сообщение
Presta com Action? pq tou criando action e nгo NPC
Nгo sei se funciona, sу vocк adaptar, e ver se funciona, se nгo funcionar, Faзa que nem o Whoo disse...


Re: Create3DTextLabel no Action. - JhefTFJ - 29.01.2017

Quote:
Originally Posted by Whoo
Посмотреть сообщение
Ja que a Label esta na barriga no action vocк pode aumentar a coordenada Z ate ficar aonde deseja
Funcionou amigo <3 +REP