3DTextLabel Problem. -
TheINCDope - 11.11.2014
Ey. I wanted to make 2 labels at same point. How can I make one label upper and one lower the problem is that I am using the mysql cords so I cant + i guess.
Код:
Create3DTextLabel("BOOM", 0x008080FF, exitX, exitY, exitZ, 15.0, 0, 0);
Create3DTextLabel("BOOM NR2", 0x008080FF, exitX, exitY, exitZ+10, 15.0, 0, 0);
Can u tell me the best way to do it?
Re: 3DTextLabel Problem. -
Eth - 11.11.2014
can you show me exitX,exitY,exitZ?
Re: 3DTextLabel Problem. -
TheINCDope - 11.11.2014
Quote:
Originally Posted by Eth
can you show me exitX,exitY,exitZ?
|
Its from mysql database.
Код:
string[128],
Str[255],
hID,
Float:intX,
Float:intY,
Float:intZ,
Float:exitX,
Float:exitY,
Float:exitZ,
hOwner[24],
hWorld,
hPrice,
hIntID,
hLocked;
sscanf(Str, "p<|>iffffffs[24]iiii", hID, intX, intY, intZ, exitX, exitY, exitZ, hOwner, hWorld, hPrice, hIntID, hLocked);
Re: 3DTextLabel Problem. -
Eth - 11.11.2014
and what is the problem you are having now in this code
pawn Код:
Create3DTextLabel("BOOM", 0x008080FF, exitX, exitY, exitZ, 15.0, 0, 0);
Create3DTextLabel("BOOM NR2", 0x008080FF, exitX, exitY, exitZ+10, 15.0, 0, 0);
is BOOM showing? is BOOM NR2 Showing? because it should work or does only one shop/house have it?
Re: 3DTextLabel Problem. -
TheINCDope - 11.11.2014
The problem is that they are in same line, so they are coliding, is there a way for them to be one upper (z+10) for exemple and one lower?
So it would be:
BOOM
BOOM NR2
and not BOBOOOMMNR2 lol
without adding seperate cords? I mean not making one z that and other that. Just add (+) some numbers to z?
Re: 3DTextLabel Problem. -
Eth - 11.11.2014
yes you can for sure it should work
Re: 3DTextLabel Problem. -
TheINCDope - 11.11.2014
but how can I do it? I tryed exitZ+10 didint work.
Re: 3DTextLabel Problem. -
Eth - 11.11.2014
strnge :O try to increase the +10 to something like + 20 or something and if it didn't work then try:
pawn Код:
Create3DTextLabel("BOOM", 0x008080FF, exitX, exitY, exitZ, 15.0, 0, 0);
Create3DTextLabel("BOOM NR2", 0x008080FF, exitX, exitY, exitZ-20, 15.0, 0, 0);
Re: 3DTextLabel Problem. -
TheINCDope - 11.11.2014
Nope, doesnt work, the textlabel just disapears then. >.>
Re: 3DTextLabel Problem. -
Eth - 11.11.2014
try that
pawn Код:
new Float:X,Float:Y,Float:Z;
X = exitX,Y= exitY,Z = exitZ+ 12;
Create3DTextLabel("BOOM NR2", 0x008080FF, X, Y, Z, 15.0, 0, 0);