SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 20/04/2014, 11:12 AM   #1
Adejair
Big Clucker
 
Adejair's Avatar
 
Join Date: Feb 2011
Posts: 146
Reputation: 9
Default ~ Label

@edit
__________________
" Às vezes é preciso andar por caminho errado para encontrar a coisa certa "

Last edited by Adejair; 11/09/2014 at 11:37 PM.
Adejair is offline   Reply With Quote
Old 20/04/2014, 11:21 AM   #2
DartakousLien
High-roller
 
DartakousLien's Avatar
 
Join Date: Jan 2010
Location: Portugal
Posts: 1,149
Reputation: 87
Default Re: ~ Label

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
__________________
Github : Procurando interessados em participar em projetos comigo.
Visite também o meu portfólio
DartakousLien is offline   Reply With Quote
Old 20/04/2014, 11:26 AM   #3
Locky_
High-roller
 
Locky_'s Avatar
 
Join Date: Jul 2012
Posts: 1,609
Reputation: 321
Default Re: ~ Label

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.
Locky_ is offline   Reply With Quote
Old 20/04/2014, 11:33 AM   #4
Adejair
Big Clucker
 
Adejair's Avatar
 
Join Date: Feb 2011
Posts: 146
Reputation: 9
Default Re: ~ Label

Vlw =)
__________________
" Às vezes é preciso andar por caminho errado para encontrar a coisa certa "
Adejair is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] Label´s ikbenremco Tutorials 10 31/05/2017 06:03 AM
Label bug Sliceofdeath Scripting Help 0 13/09/2013 04:33 PM
3d label SnG.Scot_MisCuDI Scripting Help 3 12/03/2012 05:29 AM
3d label MEXICAN_NORTE Help Archive 13 15/02/2010 04:37 AM


All times are GMT. The time now is 09:37 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.