[Ajuda] TextDraw Do Morro.
#5

Tente assim:
PHP код:
                // morro
                
TextDrawHideForPlayer(iTMorroText[i]);
                if(
IsPlayerInMorro(i))
                 {
                    if(
Morro[Guerra] >= 1)
                    {
                        new 
NomeOrg2[MAX_ORG_NAME];
                        
OrgTNome(2NomeOrg2MAX_ORG_NAME);
                        new 
NomeOrg8[MAX_ORG_NAME];
                        
OrgTNome(12NomeOrg8MAX_ORG_NAME);
                        new 
NomeOrg9[MAX_ORG_NAME];
                        
OrgTNome(13NomeOrg9MAX_ORG_NAME);
                        new 
NomeOrg10[MAX_ORG_NAME];
                        
OrgTNome(14NomeOrg10MAX_ORG_NAME);
                        new 
NomeOrg11[MAX_ORG_NAME];
                        
OrgTNome(15NomeOrg11MAX_ORG_NAME);
                        new 
NomeOrg12[MAX_ORG_NAME];
                        
OrgTNome(17NomeOrg12MAX_ORG_NAME);
                        new 
NomeOrg13[MAX_ORG_NAME];
                        
OrgTNome(18NomeOrg13MAX_ORG_NAME);
                        
format(TRString,sizeof(TRString),"~n~~n~%s~n~Pontos: %d~n~~n~%s~n~Pontos: %d~n~~n~%s~n~Pontos: %d~n~~n~%s~n~Pontos: %d~n~~n~%s~n~Pontos: %d~n~~n~%s~n~Pontos: %d~n~~n~%s~n~Pontos: ~w~%d",NomeOrg2,MorroPontos[2],NomeOrg8,MorroPontos[12],NomeOrg9,MorroPontos[13],NomeOrg10,MorroPontos[14],NomeOrg11,MorroPontos[15],NomeOrg12,MorroPontos[17],NomeOrg13,MorroPontos[18]);
                        
TextDrawSetString(TMorroText[i], TRString);
                        if(
WantedInfo[i][pPontos] <= 0)
                        {
                            
TextDrawShowForPlayer(iTMorroText[i]);
                        }
                    }
                    else if(    
Morro[    Guerra    ] != 1    )
                    {
                        
TextDrawHideForPlayer(iTMorroText[i]);
                    }
                }
            }
          }
    return 
true;

Reply


Messages In This Thread
resolvido - by FlaaSShh - 02.12.2012, 11:51
Re: TextDraw Do Morro. - by Schocc - 02.12.2012, 11:53
Re: TextDraw Do Morro. - by Sky™ - 02.12.2012, 11:54
Re: TextDraw Do Morro. - by FlaaSShh - 02.12.2012, 12:03
Re: TextDraw Do Morro. - by Schocc - 02.12.2012, 12:26
Re: TextDraw Do Morro. - by FlaaSShh - 02.12.2012, 13:45
Re: TextDraw Do Morro. - by mau.tito - 02.12.2012, 13:48
Respuesta: TextDraw Do Morro. - by kratty - 02.12.2012, 13:50

Forum Jump:


Users browsing this thread: 2 Guest(s)