[Ajuda] EMPRESA - EMPRESA - EMPRESA
#2

Sim, basta remover o if citado por vocк .



Para fazer isso, remova a linha com o if e depois, suas duas chaves, que sгo: uma que abre { e outraque fecha } .



O cуdigo que vocк postou por exemplo, apуs feita essa modificaзгo, ficaria assim :



Код:
if(BizzInfo[h][bOwned] == 1)
{
format(string, sizeof(string), "%s\nProprietбrio: %s\nSуcio: %s\nTaxa:R$%d\nLevel: %d\nEntrada /entrar",BizzInfo[h][bMessage],BizzInfo[h][bOwner],BizzInfo[h][bExtortion],BizzInfo[h][bEntranceCost],BizzInfo[h][bLevelNeeded]);
}
else
{
format(string, sizeof(string), "%s\nPreзo: R$%d\nLevel: %d \nComprar /comprarempresa",BizzInfo[h][bMessage],BizzInfo[h][bBuyPrice],BizzInfo[h][bLevelNeeded]);
}
Create3DTextLabel(string, COLOR_WHITE, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ], 15,0);
return 1;
}

Da prуxima vez que for postar um cуdigo, recomendo que use [pawn] e [/pawn] Ao invйs de [code] e [/code], pois isso facilita a leitura do cуdigo, para todos .




Espero ter ajudado .
Reply


Messages In This Thread
[Ajuda] EMPRESA - EMPRESA - EMPRESA - by Sr.Pekeno - 16.07.2011, 21:42
Re: [Ajuda] EMPRESA - EMPRESA - EMPRESA - by rjjj - 16.07.2011, 21:57
Re: [Ajuda] EMPRESA - EMPRESA - EMPRESA - by Sr.Pekeno - 16.07.2011, 22:13
AW: [Ajuda] EMPRESA - EMPRESA - EMPRESA - by RedBulL_x - 16.07.2011, 22:20
Re: [Ajuda] EMPRESA - EMPRESA - EMPRESA - by Sr.Pekeno - 16.07.2011, 22:25
Re: [Ajuda] EMPRESA - EMPRESA - EMPRESA - by Sr.Pekeno - 16.07.2011, 23:13

Forum Jump:


Users browsing this thread: 1 Guest(s)