Create3dtextlabel Limit or what??
#1

I've added:
pawn Код:
Create3DTextLabel("\n Apasa {00FF00}F {FFFFFF}sau {00FF00}ENTER {FFFFFF}pentru a intra/iesi",0xFFFFFFFF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1.0,30.0, 0, 1);
And
pawn Код:
Create3DTextLabel("\n Apasa {00FF00}F {FFFFFF}sau {00FF00}ENTER {FFFFFF}pentru a intra/iesi",0xFFFFFFFF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+1.0,30.0, 0, 1);
Houses amd all biz shows the 3dtex but the others,like jobs,or /buycar not....
A little help??
Reply
#2

Click me to check SAMP Limits

Global 3D Lables - 1024
3D Labes per player - 1024
Reply
#3

But i have only 64 3dtexts,when i delete
pawn Код:
Create3DTextLabel("\n Apasa {00FF00}F {FFFFFF}sau {00FF00}ENTER {FFFFFF}pentru a intra/iesi",0xFFFFFFFF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1.0,30.0, 0, 1);
and
pawn Код:
Create3DTextLabel("\n Apasa {00FF00}F {FFFFFF}sau {00FF00}ENTER {FFFFFF}pentru a intra/iesi",0xFFFFFFFF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+1.0,30.0, 0, 1);
It comes back to normal
Reply
#4

I've added
pawn Код:
for(new h = 0; h < sizeof(HouseInfo); h++)
    {
        new adresa[255];
        if(HouseInfo[h][hOwned] == 0)
        {
   AddStaticPickup(1273, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],-1);
            pickups++;
            format(adresa, sizeof(adresa), "Adresa: %s",HouseInfo[h][hDiscription]);
            Create3DTextLabel(adresa,0x9EC73DFF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1.0,30.0, 0, 1);
            Create3DTextLabel("\n Apasa {00FF00}F {FFFFFF}sau {00FF00}ENTER {FFFFFF}pentru a intra/iesi",0xFFFFFFFF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1.0,30.0, 0, 1);
        }
        if(HouseInfo[h][hOwned] == 1)
        {
            AddStaticPickup(1273, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],-1);
            pickups++;
            format(adresa, sizeof(adresa), "Adresa: %s",HouseInfo[h][hDiscription]);
            Create3DTextLabel(adresa,0x9EC73DFF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1.0,30.0, 0, 1);
            Create3DTextLabel("\n Apasa {00FF00}F {FFFFFF}sau {00FF00}ENTER {FFFFFF}pentru a intra/iesi",0xFFFFFFFF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1.0,30.0, 0, 1);
        }
    }
    for(new h = 0; h < sizeof(BizzInfo); h++)
    {
        new adresa[255];
        if(BizzInfo[h][bOwned] == 0)
        {
            AddStaticPickup(1272, 1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],-1);
            pickups++;
            format(adresa, sizeof(adresa), "%s",BizzInfo[h][bMessage]);
            Create3DTextLabel(adresa,0x00CCFFFF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+1.0,30.0, 0, 1);
            Create3DTextLabel("\n Apasa {00FF00}F {FFFFFF}sau {00FF00}ENTER {FFFFFF}pentru a intra/iesi",0xFFFFFFFF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+1.0,30.0, 0, 1);
        }
        if(BizzInfo[h][bOwned] == 1)
        {
            AddStaticPickup(1272, 1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],-1);
            pickups++;
            format(adresa, sizeof(adresa), "%s",BizzInfo[h][bMessage]);
            Create3DTextLabel(adresa,0x00CCFFFF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+1.0,30.0, 0, 1);
            Create3DTextLabel("\n Apasa {00FF00}F {FFFFFF}sau {00FF00}ENTER {FFFFFF}pentru a intra/iesi",0xFFFFFFFF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+1.0,30.0, 0, 1);
        }
    }
But if i kep lines:
pawn Код:
Create3DTextLabel("\n Apasa {00FF00}F {FFFFFF}sau {00FF00}ENTER {FFFFFF}pentru a intra/iesi",0xFFFFFFFF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1.0,30.0, 0, 1);
and
pawn Код:
Create3DTextLabel("\n Apasa {00FF00}F {FFFFFF}sau {00FF00}ENTER {FFFFFF}pentru a intra/iesi",0xFFFFFFFF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+1.0,30.0, 0, 1);
The others create3dtextlabel disapears,only houses and business will show theyr 3dtetx,But,if i delete them, It comes back to normal
Reply
#5

Show these lines

pawn Код:
new HouseInfo
new BizzInfo
Reply
#6

pawn Код:
new HouseInfo[500][hInfo];
and
pawn Код:
new BizzInfo[28][bInfo];
Reply
#7

So you are creating 2*500 + 2*28 = 1056 3D labels, which is over the limit of 1024.
Reply
#8

How can i add like in the upper post,the 3dtextlabel for only half houses?/
Reply
#9

First create other text labels and houses last.
Reply
#10

Quote:
Originally Posted by MadeMan
Посмотреть сообщение
First create other text labels and houses last.
I did it i pus
pawn Код:
new Houseinfo[250]
and it worked,i want to rep+ you but i dont know,the site is in german ) and i don't know..
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)