[Ajuda] Create3DTextLabel - 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 (
/showthread.php?tid=451133)
Create3DTextLabel -
Luucass - 16.07.2013
No meu servidor nao tem aquele Label que aparece quando o player digita ele sу aparece la no chat , eu quero fazer que ele apareзa em cima do personagem oq o player escreveu !
Re: Create3DTextLabel -
focaximubh - 16.07.2013
pawn Код:
public OnPlayerText(playerid, text[])
{
new messagetext[128], pname[MAX_PLAYER_NAME];
SetPlayerChatBubble(playerid, text, 0xFFFDE8AA, 100.0, 10000);
format( messagetext, 128, "[ID:%d]%sdiz: %s", playerid, pname, text );
SendPlayerMessageToAll( playerid, messagetext );
return false;//Se por TRUE vai fica repetindo a msg
}
Acredito que seja isso
OBS: CREIO que nгo seja 3dTextLabel, й possivel? SIM mas esse modo nгo й utilizado assim й uma funзгo automбtica do SAMP pode ser usado isso, (AXO QUE Й)
pawn Код:
ShowNameTags(1);//MOSTRA O NOME EM CIMA DA CABEЗA DO PLAYER
ShowPlayerMarkers(1);//MOSTRA OS PLAYERS NO RADAR
Re: Create3DTextLabel -
[THs]ShadoW - 16.07.2013
Amigo isto nгo й um 3D Text, atй onde sei й uma funзгo do prуprio SAMP '-' Teste em 2 jogadores, acredito q apareзa sim, sу que o jogador que digitou nгo ve..
Re: Create3DTextLabel -
DiiMeNoR - 16.07.2013
Coloque apйnas isso em OnPlayerText.
Код:
SetPlayerChatBubble(playerid, text, 0xCCCCFFFF, 20.0, 10000);
Re: Create3DTextLabel -
Luucass - 16.07.2013
@focaximubh
Quote:
C:\Users\Familia\Desktop\Rodovia Brasil\gamemodes\BTF.pwn(1812) : warning 203: symbol is never used: "messagetext"
C:\Users\Familia\Desktop\Rodovia Brasil\gamemodes\BTF.pwn(1812) : warning 203: symbol is never used: "pname"
|
2 Erros
Re: Create3DTextLabel -
Luucass - 16.07.2013
@DiiMenor
Vou Testar Nao Deu Erro Aqui Nao
Re: Create3DTextLabel -
focaximubh - 16.07.2013
Quote:
Originally Posted by Luucass
@focaximubh
2 Erros
|
pawn Код:
new messagetext[128], pname[MAX_PLAYER_NAME];
LEMBRANDO: esse cуdigo irб aparecer o ID do player no chat ok