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



~ Label - Adejair - 20.04.2014

@edit


Re: ~ Label - DartakousLien - 20.04.2014

Olha o format, voce esta a tentar colocar um numero inteiro mas esta a formatar com %s, para string, tira o strlen ou entao coloca %d

#EDIT e que tamanho e esse no new string ? 300 ? Vai criar um texto 3d com 300 carateres ? Depois nao digam que o sver ta lento e tem bugs


Re: ~ Label - Locky_ - 20.04.2014

Quote:
Originally Posted by Adejair
View Post
Olб , Alguem poderia me ajudar pq nгo cria a 3D TextLabel?

pawn Code:
new string[300];
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
format(string,sizeof(string),"%s",strlen(inputtext));
Create3DTextLabel(string,0xFF000066, X,Y,Z, 20.0, 0, 1);
pawn Code:
format(string,sizeof(string),"%s",inputtext);
Tente assim nй ferote.
Se quiser tambйm, mude o 'string' para 128.


Re: ~ Label - Adejair - 20.04.2014

Vlw =)