Need a little help (string + 3d text)
#1

I've been working on a little script where I need to make couple of 3d text (about 5) wich shows the house owner.

the code:
Код:
		new house132[128];
		format(house132, sizeof(house132), "%s", HouseInfo[132][hOwner]);
		Create3DTextLabel(house132, COLOR_WHITE, 1946.1537,1778.6444,12.7144,50,0,0);
It isn't showing any text label, can somebody help me fix this?
Reply
#2

try
Код:
new Text3D:house132[128];
Reply
#3

Код:
		new Text3D:house132[128];
		format(house132, sizeof(house132), "%s", HouseInfo[132][hOwner]);
		Create3DTextLabel(house132, COLOR_WHITE, 1946.1537,1778.6444,12.7144,50,0,0);
Then I get tag mismatch on the 2nd an 3th line
Reply
#4

Try this:

pawn Код:
Create3DTextLabel(HouseInfo[132][hOwner], COLOR_WHITE, 1946.1537,1778.6444,12.7144,50,0,0);
Reply
#5

oh ignore the code i posted, i posted it compeletely wrong!
your code should be fine, just make sure that the house has an owner
and that the 3dtextlabel is placed in right place!
Reply
#6

Create3DTextLabel(HouseInfo[132][hOwner], COLOR_WHITE, 1946.1537,1778.6444,12.7144,50,0,0); worked

Thank you boy
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)