SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 26/10/2019, 12:53 PM   #1
oRaphael
Huge Clucker
 
oRaphael's Avatar
 
Join Date: Jul 2019
Location: Goiânia, Goias.
Posts: 198
Reputation: 2
Default Text

Tem como deixar text label em negrito? Se sim, como?
__________________
Fundador, Hyze RPG.
oRaphael is offline   Reply With Quote
Old 26/10/2019, 02:15 PM   #2
NWDMadara
Huge Clucker
 
NWDMadara's Avatar
 
Join Date: Mar 2018
Posts: 483
Reputation: 16
Default Re: Text

https://wiki.sa-mp.com/wiki/Colors_L...olor_embedding
https://wiki.sa-mp.com/wiki/Create3DTextLabel

0x000000FF

FF = Máxima opacidade do preto.

Se não for isso, tente criar uma label por cima da outra, elas irão se sobrepor e ficarão mais escuras. Só não te garanto que o efeito ficará do jeito que espera.
NWDMadara is offline   Reply With Quote
Old 26/10/2019, 04:17 PM   #3
oRaphael
Huge Clucker
 
oRaphael's Avatar
 
Join Date: Jul 2019
Location: Goiânia, Goias.
Posts: 198
Reputation: 2
Default Re: Text

Como faço pra criar uma so TextLabel pra todas essas coordenadas?

PHP Code:
1494.4508,1304.3193,1093.2891
1324.3451
,-1711.4113,13.5395
1607.5413
,-1560.4418,14.1788
1481.0848
,-1771.6964,18.7958
1462.2854
,-1011.8776,26.8438
1642.3555
,-2238.5671,13.4974
2229.3315
,-1721.9618,13.5679
1352.2345
,-1758.5349,13.5078
1412.1313
,-1699.7631,13.5395
2244.4526
,-1664.7593,15.4766
1554.7136
,-1675.6445,16.1953 
__________________
Fundador, Hyze RPG.
oRaphael is offline   Reply With Quote
Old 26/10/2019, 04:33 PM   #4
NWDMadara
Huge Clucker
 
NWDMadara's Avatar
 
Join Date: Mar 2018
Posts: 483
Reputation: 16
Default Re: Text

Create3DTextLabel("", 0x000000FF, 1494.4508,1304.3193,1093.2891, 200.0, 0);
Create3DTextLabel("", 0x000000FF, 1324.3451,-1711.4113,13.5395, 200.0, 0);
Create3DTextLabel("", 0x000000FF, 1607.5413,-1560.4418,14.1788, 200.0, 0);
NWDMadara is offline   Reply With Quote
Old 26/10/2019, 04:38 PM   #5
oRaphael
Huge Clucker
 
oRaphael's Avatar
 
Join Date: Jul 2019
Location: Goiânia, Goias.
Posts: 198
Reputation: 2
Default Re: Text

Não tipo, uma so textlabel, pra TODAS essas coords.
__________________
Fundador, Hyze RPG.
oRaphael is offline   Reply With Quote
Old 26/10/2019, 04:46 PM   #6
NWDMadara
Huge Clucker
 
NWDMadara's Avatar
 
Join Date: Mar 2018
Posts: 483
Reputation: 16
Default Re: Text

obvio que não kkkk
NWDMadara is offline   Reply With Quote
Old 26/10/2019, 04:47 PM   #7
oRaphael
Huge Clucker
 
oRaphael's Avatar
 
Join Date: Jul 2019
Location: Goiânia, Goias.
Posts: 198
Reputation: 2
Default Re: Text

;-;, que pena.
__________________
Fundador, Hyze RPG.
oRaphael is offline   Reply With Quote
Old 26/10/2019, 04:51 PM   #8
NWDMadara
Huge Clucker
 
NWDMadara's Avatar
 
Join Date: Mar 2018
Posts: 483
Reputation: 16
Default Re: Text

O máximo que você pode fazer é isso:

PHP Code:
static Float:Posicoes[][3] =
{
    {
1494.4508,1304.3193,1093.2891},
    {
1324.3451,-1711.4113,13.5395},
    {
1607.5413,-1560.4418,14.1788},
    {
1481.0848,-1771.6964,18.7958},
    {
1462.2854,-1011.8776,26.8438},
    {
1642.3555,-2238.5671,13.4974},
    {
2229.3315,-1721.9618,13.5679},
    {
1352.2345,-1758.5349,13.5078},
    {
1412.1313,-1699.7631,13.5395},
    {
2244.4526,-1664.7593,15.4766},
    {
1554.7136,-1675.6445,16.1953}
};

for(new 
isizeof(Posicoes); i++)
    
Create3DTextLabel(""0x000000FFPosicoes[i][0], Posicoes[i][1], Posicoes[i][2], 200.00); 
NWDMadara is offline   Reply With Quote
Old 26/10/2019, 05:52 PM   #9
COYTER
Little Clucker
 
COYTER's Avatar
 
Join Date: Aug 2019
Location: Chéquia
Posts: 13
Reputation: 0
Default Re: Text

It is possible! I must recommend you to use CreateDynamic3DTextLabel. It will give you a possible 3D layer.. Already using Create3DTextLabel, his size is a bit transparent!

Code:
CreateDynamic3DTextLabel(const text[], color, Float:x, Float:y, Float:z, Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);
COYTER 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
[FilterScript] 3D Text Creator [ Create a 3D Text Label Anywhere ] Jankingston Filterscripts 13 17/03/2018 03:49 AM
How to change format text to 3D text {house System RP} daniel05277 Scripting Help 1 09/09/2015 07:02 AM
Text in MSGbox_Dialog automatically crops text? Mado Scripting Help 3 08/12/2012 09:30 PM
Command / text [text / text] [player id / all] MrLeNy Help Archive 6 10/04/2010 10:18 PM


All times are GMT. The time now is 11:16 AM.


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