[AJUDA] CASA INFO SUMINDO
#1

Desculpas pelo mesmo post mais qe no outro me ajudaram numa coisa mais n ajudaram na outra...

й tipo assim mudei o texto das casas para coloridos sу que quando compro a casa o texto some ou quando vendo tbm somi como resolvo?

PHP код:
    //Create3dTexts(); 
    
for(new 0sizeof(HouseInfo); h++) 

    if(
HouseInfo[h][hOwned] == 0) { 
        
AddStaticPickup(12732HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]); 
        
format(gstringsizeof(gstring), "{33FF00}Casa A Venda\nTipo: {FF0000}%s\n{33FF00}Valor: {FF0000}R$%d\n{33FF00}Nivel: {FF0000}%d\nPara comprar digite /comprarcasa",HouseInfo[h][hDiscription],HouseInfo[h][hValue],HouseInfo[h][hLevel]); 
        
HouseLabel[h] = Create3DTextLabel(gstring,COR_GRO,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.5,15.0,0); 
    } 
    if(
HouseInfo[h][hOwned] == 1) { 
        
AddStaticPickup(13182HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]); 
        if(
HouseInfo[h][hRentabil] == 0) { 
            
format(gstringsizeof(gstring), "{33FF00}Dono: {FF0000}%s\n{33FF00}Nivel: {FF0000}%d",HouseInfo[h][hOwner],HouseInfo[h][hLevel]); 
            
HouseLabel[h] = Create3DTextLabel(gstring,COR_GRO,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.5,15.0,0); 
        } 
        else { 
            
format(gstringsizeof(gstring), "{33FF00}Dono: {FF0000}%s\n{33FF00}Aluguel: {FF0000}R$%d\n{33FF00}Nivel: {FF0000}%d\nDigite /alugarquarto para alugar um quarto",HouseInfo[h][hOwner],HouseInfo[h][hRent],HouseInfo[h][hLevel]); 
            
HouseLabel[h] = Create3DTextLabel(gstring,COR_GRO,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.5,15.0,0); 
        } 
    } 

Reply
#2

SetTimer pra atualizar as 3D Texts.
Reply
#3

pawn Код:
//Create3dTexts();  
    for(new h = 0; h < sizeof(HouseInfo); h++)  
{  
    if(HouseInfo[h][hOwned] == 0) {  
        AddStaticPickup(1273, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);  
        format(gstring, sizeof(gstring), "{33FF00}Casa A Venda\nTipo: {FF0000}%s\n{33FF00}Valor: {FF0000}R$%d\n{33FF00}Nivel: {FF0000}%d\nPara comprar digite /comprarcasa",HouseInfo[h][hDiscription],HouseInfo[h][hValue],HouseInfo[h][hLevel]);  
        HouseLabel[h] = Create3DTextLabel(gstring,COR_GRO,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.5,15.0,0);  
    }  
    if(HouseInfo[h][hOwned] == 1) {  
        AddStaticPickup(1318, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);  
        if(HouseInfo[h][hRentabil] == 0) {  
            format(gstring, sizeof(gstring), "{33FF00}Dono: {FF0000}%s\n{33FF00}Nivel: {FF0000}%d",HouseInfo[h][hOwner],HouseInfo[h][hLevel]);  
            HouseLabel[h] = Create3DTextLabel(gstring,COR_GRO,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.5,15.0,0);  
        }  
        else {  
            format(gstring, sizeof(gstring), "{33FF00}Dono: {FF0000}%s\n{33FF00}Aluguel: {FF0000}R$%d\n{33FF00}Nivel: {FF0000}%d\nDigite /alugarquarto para alugar um quarto",HouseInfo[h][hOwner],HouseInfo[h][hRent],HouseInfo[h][hLevel]);  
            HouseLabel[h] = Create3DTextLabel(gstring,COR_GRO,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.5,15.0,0);  
        }  
    }  
}
Ajudei?
Reply
#4

vlw pela ajuda, mais a info casa ainda continua sumindo quando comproou vendo alguma casa
Reply
#5

posta o comando de comprar e vender casa ai..
@Edit
estamos com o msm nъmero de posts LOL
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)