13.01.2013, 23:34
Hi Scripterzz.I need help with Labels for Business t.e bizz and sbizz.I have one script for bizz,sbizz and house but now for house all working pickups and labels but in bizz and sbizz label's don't showing ? Why ? I don't know please help me ! Tommorow i opening server but please help me ! Please ! [ REP ++ ] My Script.
That is the script
Please REP !!
pawn Код:
new Text3D:BizzLabel[sizeof(BizzInfo)];
new BizzPickup[sizeof(BizzInfo)];
pawn Код:
for(new b = 0; b < sizeof(BizzInfo); b++)
{
if(BizzInfo[b][bOwned] == 0)
{
format(PropertyString,sizeof(PropertyString),""#COL_WHITE"[%s]\n"#COL_SVPLAVA"Biznisot e na prodazba.\n "COL_SVPLAVA"Level: "#COL_WHITE"%d "#COL_SVPLAVA"| Cena: "#COL_WHITE"$%d\n "#COL_SVPLAVA"Za kupuvanje koristi "#COL_WHITE"/kupibiznis",BizzInfo[b][bMessage],BizzInfo[b][bLevelNeeded],BizzInfo[b][bBuyPrice]);
BizzLabel[b] = Create3DTextLabel(PropertyString ,0x33CCFFAA ,BizzInfo[b][bEntranceX], BizzInfo[b][bEntranceY], BizzInfo[b][bEntranceZ]+0.5,20, 0, 0);
BizzPickup[b] = CreatePickup(1272,1,BizzInfo[b][bEntranceX], BizzInfo[b][bEntranceY], BizzInfo[b][bEntranceZ]);
}
else if(BizzInfo[b][bOwned] == 1)
{
format(PropertyString,sizeof(PropertyString),"[%s]\n {00C0FF}Gazda: "#COL_WHITE"%s , {00C0FF}Reket: {FFFFFF}%s\n {00C0FF}Level: {FFFFFF}%d\n {00C0FF}Za vlez koristi: {FFFFFF}/enter.",BizzInfo[b][bMessage],BizzInfo[b][bOwner], BizzInfo[b][bExtortion], BizzInfo[b][bLevelNeeded]);
BizzLabel[b] = Create3DTextLabel(PropertyString ,0x33CCFFAA,BizzInfo[b][bEntranceX], BizzInfo[b][bEntranceY], BizzInfo[b][bEntranceZ]+0.5,20, 0, 0);
BizzPickup[b] = CreatePickup(1239, 1, BizzInfo[b][bEntranceX], BizzInfo[b][bEntranceY], BizzInfo[b][bEntranceZ]);
}
}
pawn Код:
else if(update == 2)
{
if(BizzInfo[id][bOwned] == 0)
{
Delete3DTextLabel(BizzLabel[id]);
format(PropertyString,sizeof(PropertyString),""#COL_WHITE"[%s]\n"#COL_SVPLAVA"Biznis na prodazba.\n "#COL_SVPLAVA"Level: "#COL_WHITE"%d "#COL_SVPLAVA"| Cena: "#COL_WHITE"$%d\n "#COL_SVPLAVA"Da kupite: "#COL_WHITE"/kupibiznis",BizzInfo[id][bMessage], BizzInfo[id][bLevelNeeded], BizzInfo[id][bBuyPrice]);
BizzLabel[id] = Create3DTextLabel(PropertyString ,0x33CCFFAA,BizzInfo[id][bEntranceX], BizzInfo[id][bEntranceY], BizzInfo[id][bEntranceZ]+0.5,20, 0, 1);
}
else if(BizzInfo[id][bOwned] == 1)
{
Delete3DTextLabel(BizzLabel[id]);
format(PropertyString,sizeof(PropertyString),"[%s]\n {00C0FF}Vlasnik: "#COL_WHITE"%s , {00C0FF}Reket: {FFFFFF}%s\n {00C0FF}Level: {FFFFFF}%d\n {00C0FF}Ulaz: {FFFFFF}/enter.",BizzInfo[id][bMessage],BizzInfo[id][bOwner], BizzInfo[id][bExtortion], BizzInfo[id][bLevelNeeded]);
BizzLabel[id] = Create3DTextLabel(PropertyString ,0x33CCFFAA,BizzInfo[id][bEntranceX], BizzInfo[id][bEntranceY], BizzInfo[id][bEntranceZ]+0.5,20, 0, 1);
}
}
![Smiley](images/smilies/smile.png)