House pickup Tag Mistmach
#1

PHP код:
new PropertyString[256];
    for(new 
1<= housessh++)
    {
        if(
HouseInfo[h][hOwned] == 0)
        {
            
DestroyDynamic3DTextLabel(HouseLabel[h]);
            
format(PropertyStringsizeof(PropertyString),"{347235}House ID: {FFFFFF}%d \n{347235}Aceasta casa este de vanzare \nDescriere: {FFFFFF}%s \n{347235}Valoare: {FFFFFF}$%s \n{347235}Level: {FFFFFF}%d \n{347235}Pentru a cumpara proprietatea\ntasteaza /buyhouse",h,HouseInfo[h][hDiscription],FormatNumber(HouseInfo[h][hValue]),HouseInfo[h][hLevel]);
            
HouseLabel[h] = CreateDynamic3DTextLabel(PropertyString ,0x09FF00FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],25INVALID_PLAYER_IDINVALID_VEHICLE_ID1, -1, -1, -1100.0);
            
HouseLabel[h] = CreateDynamicPickup(127323HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 0, -1, -1150.0 );
        }
        else if(
HouseInfo[h][hOwned] == 1)
        {
            if(
HouseInfo[h][hRentabil] == 1)
            {
                
DestroyDynamic3DTextLabel(HouseLabel[h]);
                
format(PropertyStringsizeof(PropertyString),"{FFFFFF}%s\n {347235}House ID: {FFFFFF}%d \n{347235}Proprietar: {FFFFFF}%s \n{347235}Chirie: {FFFFFF}$%s \n{347235}Level: {FFFFFF}%d \n{347235}Pentru a inchiria proprietatea\ntasteaza /rentroom",HouseInfo[h][hDiscription],h,HouseInfo[h][hOwner],FormatNumber(HouseInfo[h][hRent]),HouseInfo[h][hLevel]);
                
HouseLabel[h] = CreateDynamic3DTextLabel(PropertyString ,0x09FF00FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],25INVALID_PLAYER_IDINVALID_VEHICLE_ID1, -1, -1, -1100.0);
            }
            else
            {
                
DestroyDynamic3DTextLabel(HouseLabel[h]);
                
format(PropertyStringsizeof(PropertyString),"{FFFFFF}%s\n {347235}House ID: {FFFFFF}%d \n{347235}Proprietar: {FFFFFF}%s \n{347235}Level: {FFFFFF}%d",HouseInfo[h][hDiscription],h,HouseInfo[h][hOwner], HouseInfo[h][hLevel]);
                
HouseLabel[h] = CreateDynamic3DTextLabel(PropertyString ,0x09FF00FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],25INVALID_PLAYER_IDINVALID_VEHICLE_ID1, -1, -1, -1100.0);
            }
        }
    }
    for(new 
1<= bussinesh++)
    {
        if(
BizzInfo[h][bOwned] == 0)
        {
            
DestroyDynamic3DTextLabel(BizzLabel[h]);
            
format(PropertyStringsizeof(PropertyString),"{3BA158}Bizz ID: {B5B5B5}%d \n{B5B5B5}%s \n{3BA158}Afacere de vanzare \n {3BA158}Valoare: {B5B5B5}%s \n{3BA158}Level: {B5B5B5}%d \n{3BA158}Pentru a cumpara afacerea\ntasteaza /buybiz",h,BizzInfo[h][bMessage],FormatNumber(BizzInfo[h][bBuyPrice]),BizzInfo[h][bLevelNeeded]);
            
BizzLabel[h] = CreateDynamic3DTextLabel(PropertyString ,0x0066FFFF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],25INVALID_PLAYER_IDINVALID_VEHICLE_ID1, -1, -1, -1100.0);
            
CreateDynamicPickup(12391BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
            
pickups++;
        }
        else if(
BizzInfo[h][bOwned] == 1)
        {
            
DestroyDynamic3DTextLabel(BizzLabel[h]);
            
format(PropertyStringsizeof(PropertyString),"{3BA158}Bizz ID: {B5B5B5}%d \n{B5B5B5}%s \n{3BA158}Afacere detinuta de {B5B5B5}%s \n{3BA158}Cost intrare: {B5B5B5}$%s\n{3BA158}Level:{B5B5B5} %d\n{3BA158}Apasa F pentru a intra",h,BizzInfo[h][bMessage],BizzInfo[h][bOwner],FormatNumber(BizzInfo[h][bEntranceCost]),BizzInfo[h][bLevelNeeded]);
            
BizzLabel[h] = CreateDynamic3DTextLabel(PropertyString ,0x0066FFFF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],25INVALID_PLAYER_IDINVALID_VEHICLE_ID1, -1, -1, -1100.0);
            
CreateDynamicPickup(12391BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
            
pickups++;
        }
    }
    for(new 
1<= sbissh++)
    {
        if(
SBizzInfo[h][sbOwned] == 0)
        {
            
DestroyDynamic3DTextLabel(SBizzLabel[h]);
            
format(PropertyStringsizeof(PropertyString),"{3BA158}SBizz ID: {B5B5B5}%d \n{3BA158}%s \n{3BA158}Afacerea este de vanzare \n{3BA158}Valoare:{B5B5B5} $%s \n{3BA158}Level:{B5B5B5} %d \n{3BA158}Pentru a cumpara afacerea\n tasteaza /buybiz",h,SBizzInfo[h][sbMessage],FormatNumber(SBizzInfo[h][sbBuyPrice]),SBizzInfo[h][sbLevelNeeded]);
            
SBizzLabel[h] = CreateDynamic3DTextLabel(PropertyString ,0x0066FFFF,SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ],25INVALID_PLAYER_IDINVALID_VEHICLE_ID1, -1, -1, -1100.0);
            
CreateDynamicPickup(12391SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]);
            
pickups++;
        }
        else if(
SBizzInfo[h][sbOwned] == 1)
        {
            
DestroyDynamic3DTextLabel(SBizzLabel[h]);
            
format(PropertyStringsizeof(PropertyString),"{3BA158}SBizz ID: {B5B5B5}%d \n{3BA158}%s \n{3BA158}Afacere detinuta de {B5B5B5}%s\n{3BA158}Cost:{B5B5B5} $%s\n{3BA158}Level:{B5B5B5} %d",h,SBizzInfo[h][sbMessage],SBizzInfo[h][sbOwner],FormatNumber(SBizzInfo[h][sbEntranceCost]),SBizzInfo[h][sbLevelNeeded]);
            
SBizzLabel[h] = CreateDynamic3DTextLabel(PropertyString ,0x0066FFFF,SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ],25INVALID_PLAYER_IDINVALID_VEHICLE_ID1, -1, -1, -1100.0);
            
CreateDynamicPickup(12391SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]);
            
pickups++;
        }
    } 
I want to pickup's to all houses but i have this warning
PHP код:
RG-RP.pwn(14800) : warning 213tag mismatch 
and line
PHP код:
HouseLabel[h] = CreateDynamicPickup(127323HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 0, -1, -1150.0 ); 
Reply


Messages In This Thread
House pickup Tag Mistmach - by Sn4ke2 - 08.07.2015, 11:45
Re: House pickup Tag Mistmach - by Stanford - 08.07.2015, 11:51
Re: House pickup Tag Mistmach - by Sn4ke2 - 08.07.2015, 11:57

Forum Jump:


Users browsing this thread: 3 Guest(s)