Create3dtextlabel Limit or what?? -
calin1996 - 03.05.2012
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??
Re: Create3dtextlabel Limit or what?? -
JaKe Elite - 03.05.2012
Click me to check SAMP Limits
Global 3D Lables - 1024
3D Labes per player - 1024
AW: Create3dtextlabel Limit or what?? -
calin1996 - 03.05.2012
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
AW: Create3dtextlabel Limit or what?? -
calin1996 - 03.05.2012
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
Re: Create3dtextlabel Limit or what?? -
MadeMan - 03.05.2012
Show these lines
pawn Код:
new HouseInfo
new BizzInfo
AW: Create3dtextlabel Limit or what?? -
calin1996 - 03.05.2012
pawn Код:
new HouseInfo[500][hInfo];
and
Re: Create3dtextlabel Limit or what?? -
MadeMan - 03.05.2012
So you are creating 2*500 + 2*28 = 1056 3D labels, which is over the limit of 1024.
AW: Create3dtextlabel Limit or what?? -
calin1996 - 03.05.2012
How can i add like in the upper post,the 3dtextlabel for only half houses?/
Re: Create3dtextlabel Limit or what?? -
MadeMan - 03.05.2012
First create other text labels and houses last.
AW: Re: Create3dtextlabel Limit or what?? -
calin1996 - 03.05.2012
Quote:
Originally Posted by MadeMan
First create other text labels and houses last.
|
I did it
i pus
and it worked,i want to rep+ you but i dont know,the site is in german
) and i don't know..