SA-MP Forums Archive
3d text label problem - 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)
+--- Thread: 3d text label problem (/showthread.php?tid=318107)



3d text label problem - GeonMake - 13.02.2012

I have a 3d text at houses and at information i have max 50 characters and it dosen`t show how it must.

At informatii it must be:Living IV dormitoare,Bucatarie.. and it`s not showing..
The string is biger than it must


AW: 3d text label problem - Drebin - 13.02.2012

Show the code.


Re: 3d text label problem - GeonMake - 13.02.2012

pawn Код:
if(HouseInfo[h][hOwned] == 0)
        {
            new str[8192];
            format(str, sizeof(str), "{F81414}[{FFFFFF}DE VANZARE{F81414}]\n {F81414}Proprietar: {FFFFFF}%s\n {F81414}Tip: {FFFFFF}%s\n {F81414}Informatii: {FFFFFF}%s\n {F81414}Pret: {FFFFFF}%d Lei",HouseInfo[h][hOwner],HouseInfo[h][hType],HouseInfo[h][hDiscription],HouseInfo[h][hValue]);
            housesale = Create3DTextLabel(str,0x006400FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,15,0,1);
            AddStaticPickup(1273, 2, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
        }