Problema intalnita (descriere): Daca dau /buybiz , text-ul de vanzare nu dispare si se amesteca cu cel care apare cand am cumparat biz-ulEro(area / rile) / warning-(ul / urile): Nu sunt erori sau warning-uriLiniile de cod / sursa / script-ul(obligatoriu):
for(new h = 0; h < sizeof(SBizzInfo); h++)
{
if(PlayerToPoint(2.0, i, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]))
{
if(SBizzInfo[h][sbOwned] == 1)
{
format(string, sizeof(string), "{FFFFFF}%s\n{0066CC}Owner : %s\nExtortion by : %s\nEntrance Fee : $%d Level : %d \nto enter type /enter",SBizzInfo[h][sbMessage],SBizzInfo[h][sbOwner],SBizzInfo[h][sbExtortion],SBizzInfo[h][sbEntranceCost],SBizzInfo[h][sbLevelNeeded]);
}
else
{
format(string, sizeof(string), "{FFFFFF}%s\n{0066CC}This Business is for sale\nCost: $%d Level : %d \nto buy this Business type /buybiz",SBizzInfo[h][sbMessage],SBizzInfo[h][sbBuyPrice],SBizzInfo[h][sbLevelNeeded]);
}
Create3DTextLabel(string, 0x0080FFFF, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ], 40.0, 0, 0);
return 1;
}
}
for(new h = 0; h < sizeof(HouseInfo); h++)
{
if(PlayerToPoint(2.0, i, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]))
{
if(HouseInfo[h][hOwned] == 1)
{
if(HouseInfo[h][hRentabil] == 0)
{
format(string, sizeof(string), "This House is owned by %s\nLevel : %d",HouseInfo[h][hOwner],HouseInfo[h][hLevel]);
}
else
{
format(string, sizeof(string), "This House is owned by %s\nRent: $%d Level : %d\nType /rentroom to rent a room",HouseInfo[h][hOwner],HouseInfo[h][hRent],HouseInfo[h][hLevel]);
}
Create3DTextLabel(string, 0x0080FFFF, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 40.0, 0, 0);
return 1;
}
else
{
format(string, sizeof(string), "This House is for sale\nDiscription: %s \nCost: $%d\n Level : %d\nto buy this house type /buyhouse",HouseInfo[h][hDiscription],HouseInfo[h][hValue],HouseInfo[h][hLevel]);
}
Create3DTextLabel(string, 0x0080FFFF, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 40.0, 0, 0);
return 1;
}
}
for(new h = 0; h < sizeof(BizzInfo); h++)
{
if(PlayerToPoint(2.0, i, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]))
{
if(BizzInfo[h][bOwned] == 1)
{
format(string, sizeof(string), "%s\nOwner : %s\nExtortion by : %s\nEntrance Fee : $%d Level : %d \nto enter type /enter",BizzInfo[h][bMessage],BizzInfo[h][bOwner],BizzInfo[h][bExtortion],BizzInfo[h][bEntranceCost],BizzInfo[h][bLevelNeeded]);
}
else
{
format(string, sizeof(string), "%s\nThis Business is for sale\nCost: $%d Level : %d \nto buy this Business type /buybiz",BizzInfo[h][bMessage],BizzInfo[h][bBuyPrice],BizzInfo[h][bLevelNeeded]);
}
Create3DTextLabel(string, 0x0080FFFF, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ], 40.0, 0, 0);
return 1;
}
}
Imagini / Video (optional): http://imgur.com/a/qhBGjAti incercat sa rezolvati singur?: Da