Need a little help (string + 3d text) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Need a little help (string + 3d text) (
/showthread.php?tid=167492)
Need a little help (string + 3d text) -
superelite1 - 12.08.2010
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?
Re: Need a little help (string + 3d text) -
armyoftwo - 12.08.2010
try
Код:
new Text3D:house132[128];
Re: Need a little help (string + 3d text) -
superelite1 - 12.08.2010
Код:
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
Re: Need a little help (string + 3d text) -
nemesis- - 12.08.2010
Try this:
pawn Код:
Create3DTextLabel(HouseInfo[132][hOwner], COLOR_WHITE, 1946.1537,1778.6444,12.7144,50,0,0);
Re: Need a little help (string + 3d text) -
armyoftwo - 12.08.2010
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!
Re: Need a little help (string + 3d text) -
superelite1 - 12.08.2010
Create3DTextLabel(HouseInfo[132][hOwner], COLOR_WHITE, 1946.1537,1778.6444,12.7144,50,0,0); worked
Thank you boy