13.08.2011, 20:48
Olhe o Meu que eu criei, poderia lhe ajudar bastante a diferenciar. agora to ocupado dps lhe ajudo.
pawn Код:
for(new h = 0; h < sizeof(BizzInfo); h++)
{
Delete3DTextLabel(BizzLabel[h]);
if(BizzInfo[h][bOwned] == 0)
{
format(string, sizeof(string), "{FFFFFF}%s\n{33AA33}Essa Empresa Estб б Venda.\n{33AA33}Valor: {FFFFFF}R$%d\n{33AA33}Level: {FFFFFF}%d\n{33AA33}Para comprar digite /compraremp",BizzInfo[h][bMessage],BizzInfo[h][bBuyPrice],BizzInfo[h][bLevelNeeded]);
BizzLabel[h] =CreateDynamic3DTextLabel(string, -1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+0.5, 20, 0);
}
if(BizzInfo[h][bOwned] == 1)
{
format(string, sizeof(string), "{FFFFFF}%s\n{33AA33}Dono: {FFFFFF}%s\n{33AA33}Extorзгo: {FFFFFF}%s\n{33AA33}Entrada: {FFFFFF}R$%d\n{33AA33}Level: {FFFFFF}%d\n{33AA33}Digite /entrar",BizzInfo[h][bMessage],BizzInfo[h][bOwner],BizzInfo[h][bExtortion],BizzInfo[h][bEntranceCost],BizzInfo[h][bLevelNeeded]);
BizzLabel[h] = CreateDynamic3DTextLabel(string, -1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+0.5, 20, 0);
}
}