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_REPORTER, 20.0, 2000);
}
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_REPORTER, 20.0, 2000);
}
|
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", 0xD2B48CFF, 30.0, 40.0, 50.0, 40.0, 0, 0);
OnplayerSpawn:
if(IsPlayerNPC(playerid))
{
Attach3DTextLabelToPlayer(TextNPC, playerid, 0.0, 0.0, 0.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", 0xD2B48CFF, 30.0, 40.0, 50.0, 40.0, 0, 0);
OnplayerSpawn:
if(IsPlayerNPC(playerid))
{
Attach3DTextLabelToPlayer(TextNPC, playerid, 0.0, 0.0, 0.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