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



Create3DText - powerths - 29.08.2013

Alguem sabe fazer o codigo Create3DText para clг com :
PHP код:
if(strcmp(tmpdini_Get(string"Nome"
com nome do clг em cima da cabeзa tentei nгo consegui se puder ajuda eu agradeзo.


Re: Create3DText - Coe1 - 29.08.2013

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


Re: Create3DText - powerths - 29.08.2013

Nгo intendi to querendo Create3DText + isso no codigo if(strcmp(tmp, dini_Get(string, "Nome") em cima da cabeзa do player, quando player criar um clг ai aparece o nome do clг em cima da cabeзa do player.


Re: Create3DText - Coe1 - 29.08.2013

Use o SetPlayerChatBubble...

Ele coloca esse "text" encima da cabeзa do player...


Re: Create3DText - powerths - 29.08.2013

da um palpite como fais isso.


Re: Create3DText - PT - 29.08.2013

exemplo

pawn Код:
public OnPlayerText(playerid, text[])
{
    SetPlayerChatBubble(playerid, "lindo", 0xFF0000FF, 100.0, 10000);
    return 1;
}



Re: Create3DText - powerths - 29.08.2013

Quero colocar este comando:

PHP код:
new Text3D:label Create3DTextLabel("Clг: %s"0x008080FF30.040.050.040.00,);
Attach3DTextLabelToPlayer(labelplayerid0.00.00.7); 
no player e junta este comando mais este:

PHP код:
dini_Get(string"Nome"



Re: Create3DText - powerths - 29.08.2013

Alguem


Re: Create3DText - PT - 30.08.2013

olha o double post ae pow, da uma olhada nas regras

tenta isto

pawn Код:
new string[24];
format(string, sizeof(string), "Clг: %s", dini_Get(string, "Nome") );
new Text3D:label = Create3DTextLabel(string, 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0,);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);



Re: Create3DText - powerths - 30.08.2013

PT


Deu um erro

Код:
C:\DOCUME~1\d4fdf1cv\MEUSDO~1\SERVER~1\SERVER~1\GAMEMO~1\GM.pwn(2951) : error 029: invalid expression, assumed zero
C:\DOCUME~1\d4fdf1cv\MEUSDO~1\SERVER~1\SERVER~1\GAMEMO~1\GM.pwn(2951) : error 035: argument type mismatch (argument 8)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.