[Ajuda]Empresas
#7

novas fiz assim agora
pawn Код:
{
    //  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] =Create3DTextLabel(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] = Create3DTextLabel(string, -1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+0.5, 20, 0);
        }
    }
    for(new h = 0; h < sizeof(SBizzInfo); h++)
    {
    //  Delete3DTextLabel(SBizzLabel[h]);
        if(SBizzInfo[h][sbOwned] == 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",SBizzInfo[h][sbMessage],SBizzInfo[h][sbBuyPrice],SBizzInfo[h][sbLevelNeeded]);
            SBizzLabel[h] = Create3DTextLabel(string, -1, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]+0.5, 20, 0);
        }
        if(SBizzInfo[h][sbOwned] == 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",SBizzInfo[h][sbMessage],SBizzInfo[h][sbOwner],SBizzInfo[h][sbExtortion],SBizzInfo[h][sbEntranceCost],SBizzInfo[h][sbLevelNeeded]);
            SBizzLabel[h] = Create3DTextLabel(string, -1, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]+0.5, 20, 0);
        }
    }
blz elas tao funcioando mas agora um pedido presicei defini o numero de bizz e sbizz e axo que usei os numeros errados ai os Pickups sumiram, alguem ai sabe o numero certo de bizz e sbizz do sampforever original baxado aki no forum?

Me Ajude=*
Reply


Messages In This Thread
[Ajuda]Empresas - by Geo1996 - 05.02.2012, 23:49
Re: [Ajuda]Empresas - by Geo1996 - 07.02.2012, 00:34
Re: [Ajuda]Empresas - by Geo1996 - 07.02.2012, 03:47
Re: [Ajuda]Empresas - by Lуs - 07.02.2012, 12:21
Re: [Ajuda]Empresas - by Abravanel - 07.02.2012, 15:58
Re: [Ajuda]Empresas - by Lуs - 07.02.2012, 17:09
Re: [Ajuda]Empresas - by Geo1996 - 07.02.2012, 17:43
Re: [Ajuda]Empresas - by Bosma_cmd - 07.02.2012, 17:58
Re: [Ajuda]Empresas - by Geo1996 - 07.02.2012, 19:08
Re: [Ajuda]Empresas - by Geo1996 - 07.02.2012, 22:24

Forum Jump:


Users browsing this thread: 1 Guest(s)