[Ajuda] Quando acontece um payday fazenda й vendida?
#21

Quote:
Originally Posted by FerrariL
View Post
Troque por este comando e veja se irб mostrar alguma mensagem no console:
PHP Code:
BPS::Atualizar3Dtexts()
{
    print(
"Funзгo Atualizar3Dtexts, chamada");
    new 
FormatPerigoso[600];
    
    for(new 
0sizeof(BizzInfo); h++)
    {
        if(
BizzInfo[h][bOwned] == 0)
        {
            
format(FormatPerigososizeof(FormatPerigoso),
            
"{FFFFFF}Esta empresa esta a venda\n%s\n\
            {33CCFF}Preзo da Empresa: {33AA33}R$%s\n\
            {33CCFF}Nнvel: {FFFFFF}%d\n\
            {33CCFF}Fundos: {33AA33}R$%s\n\
            {FFFF00}Produtos: {9ACD32}%d/{FFFFFF}%d\n\
            {FFFF00}Preзo por produto: {33AA33}R$%s\n\
            {FFFFFF}Para comprar digite /comprarempresa"
,
            
BizzInfo[h][bMessage],
            
ConvertMoney(BizzInfo[h][bBuyPrice]),
            
BizzInfo[h][bLevelNeeded],
            
ConvertMoney(BizzInfo[h][bTill]),
            
BizzInfo[h][bProducts],BizzInfo[h][bMaxProducts],
            
ConvertMoney(BizzInfo[h][bPriceProd]));
            
Update3DTextLabelText(BizzLabel[h], COLOR_AZULBBFormatPerigoso);
        }
        if(
BizzInfo[h][bOwned] == 1)
        {
            
format(FormatPerigososizeof(FormatPerigoso),
              
"%s\n\
              {33CCFF}Dono da Empresa: {FFFFFF}%s\n\
              {33CCFF}Extorsгo: {FFFFFF}%s\n\
              {33CCFF}Entrada: {33AA33}R$%d\n\
              {33CCFF}Nнvel: {FFFFFF}%d\n\
              {FFFFFF}Aperte a letra F para entrar\n\
              {33CCFF}Fundos: {33AA33}R$%s\n\
              {FFFF00}Produtos: {9ACD32}%d/{FFFFFF}%d\n\
            {FFFF00}Preзo por produto: {33AA33}R$%s"
,
              
BizzInfo[h][bMessage],
             
BizzInfo[h][bOwner],
              
BizzInfo[h][bExtortion],
              
BizzInfo[h][bEntranceCost],
              
BizzInfo[h][bLevelNeeded],
              
ConvertMoney(BizzInfo[h][bTill]),
              
BizzInfo[h][bProducts],BizzInfo[h][bMaxProducts],
              
ConvertMoney(BizzInfo[h][bPriceProd]));
            
Update3DTextLabelText(BizzLabel[h], COLOR_AZULBBFormatPerigoso);
        }
    }
    for(new 
0sizeof(SBizzInfo); h++)
        {
            if(
SBizzInfo[h][sbOwned] == 0)
            {
            
format(FormatPerigososizeof(FormatPerigoso),
            
"{FFFFFF}Esta empresa esta a venda\n\
            %s\n\
            {33CCFF}Preзo da mini empresa: {33AA33}R$%s\n\
            {33CCFF}Nнvel: {FFFFFF}%d\n\
            {33CCFF}Fundos: {33AA33}R$%s\n\
            {FFFF00}Produtos: {9ACD32}%d/{FFFFFF}%d\n\
            {FFFF00}Preзo por produto: {33AA33}R$%s\n\
            {FFFFFF}Para comprar digite /comprarempresa"
,
            
SBizzInfo[h][sbMessage],
            
ConvertMoney(SBizzInfo[h][sbBuyPrice]),
            
SBizzInfo[h][sbLevelNeeded],
            
ConvertMoney(SBizzInfo[h][sbTill]),
            
SBizzInfo[h][sbProducts],SBizzInfo[h][sbMaxProducts],
            
ConvertMoney(SBizzInfo[h][sbPriceProd]));
            
Update3DTextLabelText(SBizzLabel[h], COLOR_AZULBBFormatPerigoso);
        }
        if(
SBizzInfo[h][sbOwned] == 1)
        {
               
format(FormatPerigososizeof(FormatPerigoso),
              
"%s\n\
              {33CCFF}Dono da empresa: {FFFFFF}%s\n\
              {33CCFF}Extorsгo: {FFFFFF}%s\n\
              {33CCFF}Entrada: {33AA33}R$%d\n\
              {33CCFF}Nнvel: {FFFFFF}%d\n\
              {33CCFF}Fundos: {33AA33}%s\n\
              {FFFF00}Produtos: {9ACD32}%d/{FFFFFF}%d\n\
            {FFFF00}Preзo por produto: {33AA33}R$%s"
,
              
SBizzInfo[h][sbMessage],
              
SBizzInfo[h][sbOwner],
            
SBizzInfo[h][sbExtortion],
            
SBizzInfo[h][sbEntranceCost],
            
SBizzInfo[h][sbLevelNeeded],
            
ConvertMoney(SBizzInfo[h][sbTill]),
            
SBizzInfo[h][sbProducts],SBizzInfo[h][sbMaxProducts],
            
ConvertMoney(SBizzInfo[h][sbPriceProd]));
               
Update3DTextLabelText(SBizzLabel[h], COLOR_AZULBBFormatPerigoso);
        }
    }
    for(new 
0sizeof(FBizzInfo); h++)
    {
        if(
FBizzInfo[h][fbOwned] == 0)
            {
                print(
"Entrou na primeira condiзгo");
                
format(FormatPerigososizeof(FormatPerigoso),
                 
"%s\n\
                 {FFFFFF}Esta Fazenda esta a venda\n\
                 {33CCFF}Valor: {33AA33}R$%s\n\
                 {33CCFF}Nivel: {FFFFFF}%d\n\
                 {FFFF00}Produtos: {9ACD32}%d/{FFFFFF}%d\n\
                {FFFF00}Preзo por produto: {33AA33}R$%s\n\
                 {FFFFFF}Para comprar digite /comprarfazenda"
,
                 
FBizzInfo[h][fbMessage],
                 
ConvertMoney(FBizzInfo[h][fbBuyPrice]),
                 
FBizzInfo[h][fbLevelNeeded],
                 
FBizzInfo[h][fbProducts],FBizzInfo[h][fbMaxProducts],
                 
ConvertMoney(FBizzInfo[h][fbPriceProd]));
                
Update3DTextLabelText(FBizzLabel[h], COLOR_AZULBBFormatPerigoso);
            }
            if(
FBizzInfo[h][fbOwned] == 1)
            {
                print(
"Entrou na segunda condiзгo");
                
format(FormatPerigososizeof(FormatPerigoso),
                 
"%s\n\
                 {33CCFF}Dono da Fazenda: {FFFFFF}%s\n\
                 {33CCFF}Extorcao: {FFFFFF}%s\n\
                 {FFFF00}Produtos: {9ACD32}%d/{FFFFFF}%d\n\
                {FFFF00}Preзo por produto: {33AA33}R$%s\n\
                 {33CCFF}Fundos: {33AA33}R$%s"
,
                 
FBizzInfo[h][fbMessage],
                 
FBizzInfo[h][fbOwner],
                 
FBizzInfo[h][fbExtortion],
                 
FBizzInfo[h][fbProducts],FBizzInfo[h][fbMaxProducts],
                 
ConvertMoney(FBizzInfo[h][fbPriceProd]),
                 
ConvertMoney(FBizzInfo[h][fbTill]));
    
                
Update3DTextLabelText(FBizzLabel[h], COLOR_AZULBBFormatPerigoso);
            }
    }
    for(new 
0sizeof(HouseInfo); h++)
    {
        if(
HouseInfo[h][hOwned] == 0)
        {
            
format(FormatPerigososizeof(FormatPerigoso),
            
"[CASA ID: %03d]\n\
            Esta casa esta a venda\n\
            Descricao: %s\n\
            Preзo: R$%d\n\
            Nнvel: %d\n\
            Carro: %s\n\
            Use /comprarcasa"
,
            
h,
            
HouseInfo[h][hDiscription],
            
HouseInfo[h][hValue],
            
HouseInfo[h][hLevel],
            
veehName[HouseInfo[h][hVec]-400]);
            
Delete3DTextLabel(HouseLabel[h]);
            
HouseLabel[h] = Create3DTextLabel(FormatPerigoso,0x00CC00FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.5,13.00);
            
DestroyDynamicPickup(HousePickup[h]);
            
HousePickup[h] = CreateDynamicPickup(127323HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],-1,-1,-1,50.0);
        }
        if(
HouseInfo[h][hOwned] == 1)
        {
            if(
HouseInfo[h][hRentabil] == 0)
            {
                
format(FormatPerigososizeof(FormatPerigoso),
                
"[CASA ID: %03d]\n\
                O dono desta casa й %s\n\
                Nнvel: %d\n\
                Veнculo: %s\n\
                Ъltimo login: [%s]\n\
                Aperte a letra F para entrar"
,
                
h,
                
HouseInfo[h][hOwner],
                
HouseInfo[h][hLevel],
                
veehName[HouseInfo[h][hVec]-400],
                
HouseInfo[h][hVerData]);
                
Delete3DTextLabel(HouseLabel[h]);
                
HouseLabel[h] = Create3DTextLabel(FormatPerigoso,0xFF6347FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.5,13.00);
                
DestroyDynamicPickup(HousePickup[h]);
                
HousePickup[h] = CreateDynamicPickup(1952223HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],-1,-1,-1,50.0);
            }
            else
            {
                
format(FormatPerigososizeof(FormatPerigoso),
                
"[CASA ID: %03d]\n\
                O dono desta casa й %s\n\
                Aluguel: R$%d\n\
                Nнvel: %d\n\
                Veнculo: %s\n\
                Ъltimo Login: [%s]\n\
                USE /alugarquarto para aluga-la\n\
                Aperte a letra F para entrar"
,
                
h,
                
HouseInfo[h][hOwner],
                
HouseInfo[h][hRent],
                
HouseInfo[h][hLevel],
                
veehName[HouseInfo[h][hVec]-400],
                
HouseInfo[h][hVerData]);
                
Delete3DTextLabel(HouseLabel[h]);
                
HouseLabel[h] = Create3DTextLabel(FormatPerigoso,0xFF6347FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.5,13.00);
                
DestroyDynamicPickup(HousePickup[h]);
                
HousePickup[h] = CreateDynamicPickup(1952223HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],-1,-1,-1,50.0);
               }
        }
    }
    return 
0;

Tem discord ? por lб й melhor ajudar.
Meu Hook Te Ama#8408
Reply
#22

Quote:

Meu Hook Te Ama#8408

Enviado.
Reply
#23

Reply
#24

Quote:
Originally Posted by Minerva
View Post
cara eu n to entendendo pq vc posta esse garзom nos meus posts??
Reply
#25

Quote:
Originally Posted by eoqtrabhir
View Post
cara eu n to entendendo pq vc posta esse garзom nos meus posts??
Porque vocк quer tudo feito...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)