SSGamers - Fique atualizado
Chegou o novo tema 6.1.3 / SSGames - Servidores online de qualidade - Inscreva-se Ja! é entre para nossa comunidade! - Ouça nossa web radio -Veja nossas novidades - Participe dos nossos setores de jogos online - Parcerias aberta fale já com um administrador.

  • Criar um tópico
  • Responder

Erro ao copilar

Tio_Kakashi
--> Postador Iniciante
--> Postador Iniciante
Tio_Kakashi
Mensagens : 13
Moedas : 351
Data de inscrição : 21/05/2019
Idade : 23

Mensagem por Tio_Kakashi em Dom 26 Maio 2019 - 10:03

error: 017: undefined symbol "fadeIn"
error: 017: undefined symbol "fadeIn"
error: 017: undefined symbol "dini_Rename"
error: 017: undefined symbol "fadeIn"
error: 017: undefined symbol "fadeOut"
error: 017: undefined symbol "fadeOut"
Weslley_Script
SS - Fundador
Weslley_Script
Steam Steam : WeslleySSGames
Zello : WeslleySSGames
Mensagens : 9084
Moedas : 1024393
Data de inscrição : 06/10/2011
Idade : 24
Localização : Brasil

Mensagem por Weslley_Script em Dom 26 Maio 2019 - 10:26

veja se isso ajuda 
Código:
#include        a_samp
    #include        progress
    #include        zcmd
    #include        fader
    #include    DOF2

    #define         CARDAPIO                1978
    #define     HOTEL           1979
    #define         PASTA_CONTAS    "/DiiMeNoR/%s.ini"

     // Necessбrio criar a pasta 'DiiMeNoR' em suas scriptfiles ou o sistema nгo ira funcionar.

    new Bar:barfome, Bar:barsede, Bar:barsono;
    new Text:TextFome, Text:TextSede, Text:TextSono, Text:Box;
    new ContagemSono[MAX_PLAYERS];
    new CorrigirVar[MAX_PLAYERS];
    new Cercas[12];
    new entrada, saida, entradahotel, saidahotel;
    new bool:lanchonete[MAX_PLAYERS];
    new arquivo[30];
    new bool:mFome[MAX_PLAYERS], bool:mSede[MAX_PLAYERS];

    public OnFilterScriptInit()
    {
            barfome = CreateProgressBar(505.00, 123.00, 84.50, 3.20, 0xFF283DAA, 100.0);
            barsede = CreateProgressBar(505.00, 143.00, 84.50, 3.20, 0x384BFFAA, 100.0);
            barsono = CreateProgressBar(505.00, 164.00, 84.50, 3.20, 0xF3FF10AA, 100.0);
            entrada = CreatePickup(1318, 23, 1352.1377,-1552.8381,13.5469, -1);
            saida = CreatePickup(1318, 23, 363.2614, -74.8193, 1001.5078, -1);
            entradahotel = CreatePickup(1318, 23, 328.5529,-1513.7094,36.0391, -1);
            saidahotel = CreatePickup(1318, 23, 346.7430,309.8346,999.1557, -1);
            SetProgressBarValue(barfome, 100);
            SetProgressBarValue(barsede, 100);
            SetProgressBarValue(barsono, 100);
            TextFome = TextDrawCreate(500.000000, 109.000000, "FOME:");
            TextSede = TextDrawCreate(500.000000, 129.000000, "SEDE:");
            TextSono = TextDrawCreate(500.000000, 150.000000, "SONO:");
            Box = TextDrawCreate(603.000000, 105.000000, "_");
            TextDrawUseBox(Box, 1);
            TextDrawTextSize(Box,493.000000, 1.000000);
            TextDrawLetterSize(Box,0.500000, 8.099987);
            TextDrawBoxColor(Box,0x00000066);
            TextDrawSetShadow(TextFome,0);
            TextDrawSetShadow(TextSede,0);
            TextDrawSetShadow(TextSono,0);
            Objetos();
            DisableInteriorEnterExits();
            for(new i = 0; i < 12; i++) SetObjectMaterial(Cercas[i], 0, 19341, "egg_texts", "easter_egg01", 0xFFFFFFFF);
            return 1;
    }
    public OnPlayerSpawn(playerid)
    {
        SetTimerEx("Fome", 20000, true, "i", playerid);
        SetTimerEx("Sede", 15000, true, "i", playerid);
        ContagemSono[playerid] = SetTimerEx("Sono", 35000, true, "i", playerid);
        return 1;
    }
    public OnFilterScriptExit()
    {
        DOF2_Exit();
        return false;
    }
    public OnPlayerPickUpPickup(playerid, pickupid)
    {
            if(pickupid == entrada)
            {
            SetPlayerInterior(playerid, 10);
            SetPlayerPos(playerid, 369.1026,-72.1459,1001.5078);
            SendClientMessage(playerid, -1,"|Lanchonete| Use /cardapio para ver a lista de comidas.");
            lanchonete[playerid] = true;
            CorrigirVar[playerid] = SetTimerEx("Corrigir", 1000, true, "i", playerid);
            }
            if(pickupid == saida)
            {
            SetPlayerInterior(playerid, 0);
            SetPlayerPos(playerid, 1349.6332, -1551.5751, 13.5469);
            lanchonete[playerid] = false;
            KillTimer(CorrigirVar[playerid]);
            }
            if(pickupid == entradahotel)
            {
                    ShowPlayerDialog(playerid, HOTEL, DIALOG_STYLE_MSGBOX,"Hotel Rooms","Para usar o hotel vocк tem que alugar um quarto\nNo valor de 100R$.\nDeseja alugar?\n\n","Alugar","Cancelar");
            }
            if(pickupid == saidahotel)
            {
            if(GetPVarInt(playerid,"Sono") <= 60) return SendClientMessage(playerid,-1,"Vocк estб com sono e nгo pode sair do Hotel antes de durmir!");
            SetPlayerPos(playerid, 335.1270,-1519.3262,35.8672);
            SetPlayerInterior(playerid, 0);
            }
            return 0;
    }
    public OnPlayerConnect(playerid)
    {
            static diimenor[80];
            RemoveBuildingForPlayer(playerid, 4116, 1345.6250, -1552.9609, 48.5156, 0.25);
            RemoveBuildingForPlayer(playerid, 4113, 1345.6250, -1552.9609, 48.5156, 0.25);
            SetPlayerMapIcon(playerid, 0, 1352.1377, -1552.8381, 13.5469, 50, 0, MAPICON_GLOBAL);
            SetPlayerMapIcon(playerid, 1,335.1270,-1519.3262,35.8672, 40, 0, MAPICON_GLOBAL);
            lanchonete[playerid] = false;
            for(new i; i < MAX_PLAYERS; i ++)
            {
                    if(IsPlayerConnected(i))
                    {
                            ShowProgressBarForPlayer(i, barfome);
                            ShowProgressBarForPlayer(i, barsede);
                            ShowProgressBarForPlayer(i, barsono);
                            TextDrawShowForPlayer(i, TextFome);
                            TextDrawShowForPlayer(i, TextSede);
                            TextDrawShowForPlayer(i, TextSono);
                            TextDrawShowForPlayer(i, Box);
                    }
            }
            format(arquivo, sizeof(arquivo), PASTA_CONTAS, PlayerName(playerid));
            if(DOF2_FileExists(arquivo))
        {
            SetPVarInt(playerid,"Fome", DOF2_GetInt(arquivo, "Fome"));
            SetPVarInt(playerid,"Sede", DOF2_GetInt(arquivo, "Sede"));
            SetPVarInt(playerid,"Sono", DOF2_GetInt(arquivo, "Sono"));
            SetProgressBarValue(barfome, DOF2_GetInt(arquivo, "Fome"));
            SetProgressBarValue(barsede, DOF2_GetInt(arquivo, "Sede"));
            SetProgressBarValue(barsono, DOF2_GetInt(arquivo, "Sono"));
            UpdateProgressBar(barfome, playerid);
            UpdateProgressBar(barsede, playerid);
            UpdateProgressBar(barsono, playerid);
            format(diimenor, sizeof(diimenor), "Carregando necessidades de %s", PlayerName(playerid));
            print(diimenor);
        }
            else
        {
            DOF2_CreateFile(arquivo);
            DOF2_SetInt(arquivo, "Fome", 100);
            DOF2_SetInt(arquivo, "Sede", 100);
            DOF2_SetInt(arquivo, "Sono", 100);
            SetPVarInt(playerid,"Fome", DOF2_GetInt(arquivo, "Fome"));
            SetPVarInt(playerid,"Sede", DOF2_GetInt(arquivo, "Sede"));
            SetPVarInt(playerid,"Sono", DOF2_GetInt(arquivo, "Sono"));
            SetProgressBarValue(barfome, DOF2_GetInt(arquivo, "Fome"));
            SetProgressBarValue(barsede, DOF2_GetInt(arquivo, "Sede"));
            SetProgressBarValue(barsono, DOF2_GetInt(arquivo, "Sono"));
            UpdateProgressBar(barfome, playerid);
            UpdateProgressBar(barsede, playerid);
            UpdateProgressBar(barsono, playerid);
            DOF2_SaveFile();
            format(diimenor, sizeof(diimenor), "Criando arquivo de necessidades de %s", PlayerName(playerid));
            print(diimenor);
        }
            return 1;
    }
    forward Fome(playerid);
    public Fome(playerid)
    {
        SetPVarInt(playerid,"Fome", GetPVarInt(playerid,"Fome")-1);
        SetProgressBarValue(barfome, GetPVarInt(playerid,"Fome"));
        UpdateProgressBar(barfome,playerid);
        if(GetPVarInt(playerid,"Fome") <= 10)
        {
            SendClientMessage(playerid,-1,"Vб atй a lanchonete comer ou irб morrer de fome!");
        }
        if(GetPVarInt(playerid,"Fome") <= 0)
        {
                    SetPlayerHealth(playerid, 0);
                    SendClientMessage(playerid, -1, "Vocк morreu de fome. Coma algo na lanchonete!");
                    mFome[playerid] = true;
            }
        return 1;
    }
    forward Sono(playerid);
    public Sono(playerid)
    {
        SetPVarInt(playerid,"Sono",GetPVarInt(playerid,"Sono")-1);
        SetProgressBarValue(barsono, GetPVarInt(playerid,"Sono"));
        UpdateProgressBar(barsono,playerid);
        if(GetPVarInt(playerid,"Sono") <= 10)
        {
            SendClientMessage(playerid,-1,"Vocк esta passando mal por excesso de sono, se nгo durmir podera desmaiar.");
            SetPlayerDrunkLevel(playerid, 4000);
        }
        if(GetPVarInt(playerid,"Sono") <= 0)
        {
            SetPlayerDrunkLevel(playerid, 0);
            ApplyAnimation(playerid,"CRACK", "crckdeth2", 4.0, 1, 1, 1, 1, 0);
            KillTimer(ContagemSono[playerid]);
            SendClientMessage(playerid, -1,"Vocк desmaiou por excesso de sono...");
            SetTimerEx("AcordarDes", 40000, false, "i", playerid);
            TogglePlayerControllable(playerid, false);
        }
        return 1;
    }
    forward Sede(playerid);
    public Sede(playerid)
    {
        SetPVarInt(playerid,"Sede",GetPVarInt(playerid,"Sede")-1);
        SetProgressBarValue(barsede, GetPVarInt(playerid,"Sede"));
        UpdateProgressBar(barsede,playerid);
        if(GetPVarInt(playerid,"Sede") <= 10)
        {
            SendClientMessage(playerid,-1,"Vocк estб com fome, coma algo na lanchonete ou ira morrer!");
        }
        if(GetPVarInt(playerid,"Sede")<= 0)
        {
                    SetPlayerHealth(playerid, 0);
                    SendClientMessage(playerid, -1, "Vocк morreu desnutrido. Beba algo na lanchonete!");
                    mSede[playerid] = true;
            }
        return 1;
    }
    forward Acordar(playerid);
    public Acordar(playerid)
    {
        TogglePlayerControllable(playerid, true);
        ClearAnimations(playerid);
        ContagemSono[playerid] = SetTimerEx("Sono", 35000, true, "i", playerid);
        SetProgressBarValue(barsono, 100);
        UpdateProgressBar(barsono, playerid);
        SetPVarInt(playerid,"Sono", 100);
        return 1;
    }
    forward AcordarDes(playerid);
    public AcordarDes(playerid)
    {
        TogglePlayerControllable(playerid, true);
        ClearAnimations(playerid);
        ContagemSono[playerid] = SetTimerEx("Sono", 35000, true, "i", playerid);
        SetProgressBarValue(barsono, 30);
        UpdateProgressBar(barsono, playerid);
        SetPVarInt(playerid,"Sono", 30);
        SendClientMessage(playerid, -1,"Vocк acordou, durma (/durmir) para nгo desmaiar novamente!");
        return 1;
    }
    public OnPlayerDeath(playerid ,killerid, reason)
    {
            if(mFome[playerid] == true)
            {
                    SetProgressBarValue(barfome, 30);
                    UpdateProgressBar(barfome, playerid);
                    SetPVarInt(playerid,"Fome", 30);
                    mSede[playerid] = false;
            }
            else if(mSede[playerid] == true)
            {
            SetProgressBarValue(barsede, 30);
            SetPVarInt(playerid,"Sede", 30);
            UpdateProgressBar(barsede, playerid);
            mSede[playerid] = false;
            }
            return 1;
    }
    forward SalvarDiiMeNoR(playerid);
    public SalvarDiiMeNoR(playerid)
    {
        format(arquivo, sizeof(arquivo), PASTA_CONTAS, PlayerName(playerid));
        if(DOF2_FileExists(arquivo))
        {
            DOF2_SetInt(arquivo, "Fome", GetPVarInt(playerid,"Fome"));
            DOF2_SetInt(arquivo, "Sede", GetPVarInt(playerid,"Sede"));
            DOF2_SetInt(arquivo, "Sono", GetPVarInt(playerid,"Sono"));
            DOF2_SaveFile();
        }
        return 1;
    }
    public OnPlayerDisconnect(playerid, reason)
    {
        SalvarDiiMeNoR(playerid);
        return 1;
    }
    public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
    {
            if(dialogid == CARDAPIO)
            {
                if(!response) { return 1; }
                switch(listitem)
            {
                case 0://Pizza
                            {
                                if(GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, 0xF68E00F6,"{FF0000}[ERRO] {FFFFFF}Vocк nгo tem R$50 para comprar!");
                                if(GetPVarInt(playerid,"Fome") >= 100) return SendClientMessage(playerid,-1,"Vocк estб satisfeito, nгo precisa mais de comida!");
                                ApplyAnimation(playerid,"FOOD","EAT_Pizza",4.1,0,1,1,1,1);
                                GivePlayerMoney(playerid, -50);
                                SendClientMessage(playerid, 0xFFFFFF ,"[INFO] Vocк acabou de comprar um prato 'Pizza'");
                                SetPVarInt(playerid,"Fome",GetPVarInt(playerid,"Fome")+10);
                                SetProgressBarValue(barfome, GetPVarInt(playerid,"Fome"));
                                UpdateProgressBar(barfome,playerid);
                            }
                            case 1://Macarronada
                            {
                                if(GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, 0xF68E00F6,"{FF0000}[ERRO] {FFFFFF}Vocк nгo tem R$20 para comprar!");
                                if(GetPVarInt(playerid,"Fome") >= 100) return SendClientMessage(playerid,-1,"Vocк estб satisfeito, nгo precisa mais de comida!");
                                ApplyAnimation(playerid,"FOOD","EAT_Pizza",4.1,0,1,1,1,1);
                                GivePlayerMoney(playerid, -20);
                                SendClientMessage(playerid, 0xFFFFFF ,"[INFO] Vocк acabou de comprar um prato 'Macarronada'");
                                SetPVarInt(playerid,"Fome",GetPVarInt(playerid,"Fome")+15);
                                SetProgressBarValue(barfome, GetPVarInt(playerid,"Fome"));
                                UpdateProgressBar(barfome,playerid);
                            }
                            case 2://Marmitex
                            {
                                if(GetPlayerMoney(playerid) < 12) return SendClientMessage(playerid, 0xF68E00F6,"{FF0000}[ERRO] {FFFFFF}Vocк nгo tem R$12 para comprar!");
                                if(GetPVarInt(playerid,"Fome") >= 100) return SendClientMessage(playerid,-1,"Vocк estб satisfeito, nгo precisa mais de comida!");
                                ApplyAnimation(playerid,"FOOD","EAT_Pizza",4.1,0,1,1,1,1);
                                GivePlayerMoney(playerid, -12);
                                SendClientMessage(playerid, 0xFFFFFF ,"[INFO] Vocк acabou de comprar um prato 'Marmitйx'");
                                SetPVarInt(playerid,"Fome",GetPVarInt(playerid,"Fome")+10);
                                SetProgressBarValue(barfome, GetPVarInt(playerid,"Fome"));
                                UpdateProgressBar(barfome,playerid);
                            }
                            case 3://Salmгo Grelhado
                            {
                                if(GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, 0xF68E00F6,"{FF0000}[ERRO] {FFFFFF}Vocк nгo tem R$20 para comprar!");
                                if(GetPVarInt(playerid,"Fome") >= 100) return SendClientMessage(playerid,-1,"Vocк estб satisfeito, nгo precisa mais de comida!");
                                ApplyAnimation(playerid,"FOOD","EAT_Pizza",4.1,0,1,1,1,1);
                                GivePlayerMoney(playerid, -20);
                                SendClientMessage(playerid, 0xFFFFFF ,"[INFO] Vocк acabou de comprar um prato 'Salmгo Grelhado'");
                                SetPVarInt(playerid,"Fome",GetPVarInt(playerid,"Fome")+30);
                                SetProgressBarValue(barfome, GetPVarInt(playerid,"Fome"));
                                UpdateProgressBar(barfome,playerid);
                            }
                            case 4://Bacalhau
                            {
                                if(GetPlayerMoney(playerid) < 21) return SendClientMessage(playerid, 0xF68E00F6,"{FF0000}[ERRO] {FFFFFF}Vocк nгo tem R$21 para comprar!");
                                if(GetPVarInt(playerid,"Fome") >= 100) return SendClientMessage(playerid,-1,"Vocк estб satisfeito, nгo precisa mais de comida!");
                                ApplyAnimation(playerid,"FOOD","EAT_Pizza",4.1,0,1,1,1,1);
                                GivePlayerMoney(playerid, -21);
                                SendClientMessage(playerid, 0xFFFFFF ,"[INFO] Vocк acabou de comprar um prato 'Bacalhau'");
                                SetPVarInt(playerid,"Fome",GetPVarInt(playerid,"Fome")+20);
                                SetProgressBarValue(barfome, GetPVarInt(playerid,"Fome"));
                                UpdateProgressBar(barfome,playerid);
                            }
                            case 5://Agua
                            {
                                if(GetPlayerMoney(playerid) < 5) return SendClientMessage(playerid, 0xF68E00F6,"{FF0000}[ERRO] {FFFFFF}Vocк nгo tem R$5 para comprar!");
                                if(GetPVarInt(playerid,"Sede") >= 100) return SendClientMessage(playerid,-1,"Vocк estб satisfeito, nгo precisa mais de bebida!");
                                ApplyAnimation(playerid,"VENDING","VEND_Drink_P",4.1,0,1,1,0,1);
                                GivePlayerMoney(playerid, -5);
                                SendClientMessage(playerid, 0xFFFFFF ,"[INFO] Vocк acabou de beber 'Бgua'");
                                SetPVarInt(playerid,"Sede",GetPVarInt(playerid,"Sede")+5);
                                SetProgressBarValue(barsede, GetPVarInt(playerid,"Sede"));
                                UpdateProgressBar(barsede,playerid);
                            }
                            case 6://Suco
                            {
                                if(GetPlayerMoney(playerid) < 12) return SendClientMessage(playerid, 0xF68E00F6,"{FF0000}[ERRO] {FFFFFF}Vocк nгo tem R$12 para comprar!");
                                if(GetPVarInt(playerid,"Sede") >= 100) return SendClientMessage(playerid,-1,"Vocк estб satisfeito, nгo precisa mais de bebida!");
                                ApplyAnimation(playerid,"VENDING","VEND_Drink_P",4.1,0,1,1,0,1);
                                GivePlayerMoney(playerid, -12);
                                SendClientMessage(playerid, 0xFFFFFF ,"[INFO] Vocк acabou de beber 'Suco'");
                                SetPVarInt(playerid,"Sede",GetPVarInt(playerid,"Sede")+10);
                                SetProgressBarValue(barsede, GetPVarInt(playerid,"Sede"));
                                UpdateProgressBar(barsede, playerid);
                            }
                            case 7://Refrigerante
                            {
                                if(GetPlayerMoney(playerid) < 17) return SendClientMessage(playerid, 0xF68E00F6,"{FF0000}[ERRO] {FFFFFF}Vocк nгo tem R$17 para comprar!");
                                if(GetPVarInt(playerid,"Sede") >= 100) return SendClientMessage(playerid,-1,"Vocк estб satisfeito, nгo precisa mais de bebida!");
                                ApplyAnimation(playerid,"VENDING","VEND_Drink_P",4.1,0,1,1,0,1);
                                GivePlayerMoney(playerid, -17);
                                SendClientMessage(playerid, 0xFFFFFF ,"[INFO] Vocк acabou de beber 'Refrigerante'");
                                SetPVarInt(playerid,"Sede",GetPVarInt(playerid,"Sede")+15);
                                SetProgressBarValue(barsede, GetPVarInt(playerid,"Sede"));
                                UpdateProgressBar(barsede,playerid);
                            }
                            case 8://Energetico
                            {
                                if(GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, 0xF68E00F6,"{FF0000}[ERRO] {FFFFFF}Vocк nгo tem R$100 para comprar!");
                                if(GetPVarInt(playerid,"Sede") >= 100) return SendClientMessage(playerid,-1,"Vocк estб satisfeito, nгo precisa mais de bebida!");
                                ApplyAnimation(playerid,"VENDING","VEND_Drink_P",4.1,0,1,1,0,1);
                                GivePlayerMoney(playerid,-100);
                                SendClientMessage(playerid, 0xFFFFFF ,"[INFO] Vocк acabou de beber 'Energetico'");
                                SetPVarInt(playerid,"Sede",GetPVarInt(playerid,"Sede")+40);
                                SetProgressBarValue(barsede, GetPVarInt(playerid,"Sede"));
                                UpdateProgressBar(barsede,playerid);
                            }
                    }
            }
            if(dialogid == HOTEL)
            {
            if(response)
                    {
                            if(GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, -1,"|HOTEL| Vocк nгo tem R$100 para alugar!");
                            if(GetPVarInt(playerid,"Sono") >= 75) return SendClientMessage(playerid,-1,"|INFO| Vocк nгo esta com sono!");
                            SetPlayerPos(playerid, 345.4432,302.6292,999.9382);
                            SetPlayerInterior(playerid, 6);
                            SendClientMessage(playerid, -1, "|Hotel| Para dumir use (/durmir), em cima da cama");
                            GivePlayerMoney(playerid, -100);

            }
            else
                    {
                            SendClientMessage(playerid, -1, "Vocк optou por nгo alugar, pode durmir em sua casa.");
            }
            }
            return 0;
    }
    forward Corrigir(playerid);
    public Corrigir(playerid)
    {
            if(GetPVarInt(playerid,"Sede") > 100)
            {
                    SetPVarInt(playerid,"Sede", 100);
                    SetProgressBarValue(barsede, GetPVarInt(playerid,"Sede"));
                    UpdateProgressBar(barsede,playerid);
            }
            if(GetPVarInt(playerid,"Fome") > 100)
            {
                    SetPVarInt(playerid,"Fome", 100);
                    SetProgressBarValue(barsede, GetPVarInt(playerid,"Fome"));
                    UpdateProgressBar(barsede, playerid);
            }
            return false;
    }
    CMD:cardapio(playerid)
    {
            if(lanchonete[playerid] == true)
            {
            ShowPlayerDialog(playerid, CARDAPIO ,DIALOG_STYLE_LIST,"Cardбpio Lanchonete","- Pizza\t{00EE76}R$150\n- Macarronada\t{00EE76}R$200\n- Marmitex\t{00EE76}R$120\n- Salmгo Grelhado\t{00EE76}R$200\n- Bacalhau\t{00EE76}R$210\n- Бgua\t{00EE76}R$5\n- Suco\t{00EE76}R$12\n- Refrigerante\t{00EE76}R$17\n- Energetico\t{00EE76}R$100\n\n","Aceitar","Cancelar");
            }
            else
            {
                    SendClientMessage(playerid, -1,"[ERRO]Vocк nгo esta na lanchonete!");
            }
            return 1;
    }
    CMD:durmir(playerid)
    {
            if(!IsPlayerInRangeOfPoint(playerid, 2.0, 345.4432,302.6292,999.9382)) return SendClientMessage(playerid,-1,"|INFO| Vocк nгo esta em cima da cama!");
            if(GetPVarInt(playerid,"Sono") >= 75) return SendClientMessage(playerid,-1,"|INFO| Vocк nгo esta com sono!");
            TogglePlayerControllable(playerid, false);
            SetPlayerDrunkLevel(playerid, 0);
            ApplyAnimation(playerid,"CRACK", "crckdeth2", 4.0, 1, 1, 1, 1, 0);
            KillTimer(ContagemSono[playerid]);
            SetTimerEx("Acordar", 40000, false, "i", playerid);
            return 1;
    }
    stock Objetos()
    {
        CreateObject(16781, 1355.200000, -1553.700000, 12.400000, 0.000000, 0.000000, 254.000000);
        Cercas[0] = CreateObject(1408, 1358.100000, -1570.600000, 13.100000, 0.000000, 0.000000, 345.000000);
        Cercas[1] = CreateObject(1408, 1353.100000, -1569.200000, 13.100000, 0.000000, 0.000000, 344.998000);
        Cercas[2] = CreateObject(1408, 1348.100000, -1567.800000, 13.100000, 0.000000, 0.000000, 344.998000);
        Cercas[3] = CreateObject(1408, 1343.100000, -1566.400000, 13.100000, 0.000000, 0.000000, 344.998000);
        Cercas[4] = CreateObject(1408, 1330.300000, -1563.000000, 13.100000, 0.000000, 0.000000, 346.998000);
        Cercas[5] = CreateObject(1408, 1325.200000, -1562.300000, 13.100000, 0.000000, 0.000000, 356.998000);
        Cercas[6] = CreateObject(1408, 1327.900000, -1537.000000, 13.100000, 0.000000, 0.000000, 248.000000);
        Cercas[7] = CreateObject(1408, 1326.100000, -1541.900000, 13.100000, 0.000000, 0.000000, 252.000000);
        Cercas[8] = CreateObject(1408, 1324.900000, -1546.900000, 13.100000, 0.000000, 0.000000, 262.000000);
        Cercas[9] = CreateObject(1408, 1324.100000, -1552.000000, 13.100000, 0.000000, 0.000000, 260.000000);
        Cercas[10] = CreateObject(1408, 1323.300000, -1557.100000, 13.100000, 0.000000, 0.000000, 262.000000);
        Cercas[11] = CreateObject(1408, 1323.000000, -1559.500000, 13.100000, 0.000000, 0.000000, 262.000000);
        CreateObject(4100, 1336.100000, -1535.000000, 14.200000, 0.000000, 0.000000, 316.000000);
        CreateObject(4100, 1349.700000, -1536.200000, 14.200000, 0.000000, 0.000000, 314.000000);
        CreateObject(4100, 1363.100000, -1538.900000, 14.200000, 0.000000, 0.000000, 304.000000);
        CreateObject(1594, 1325.900000, -1559.800000, 13.000000, 0.000000, 0.000000, 0.000000);
        CreateObject(1594, 1330.900000, -1560.000000, 13.000000, 0.000000, 0.000000, 0.000000);
        CreateObject(1594, 1346.100000, -1544.600000, 13.000000, 0.000000, 0.000000, 0.000000);
        CreateObject(14657, 1334.600000, -1543.400000, 13.100000, 0.000000, 0.000000, 84.000000);
        CreateObject(1281, 1334.700000, -1544.000000, 13.300000, 0.000000, 0.000000, 0.000000);
        CreateObject(1582, 1334.100000, -1549.500000, 13.400000, 0.000000, 0.000000, 0.000000);
        CreateObject(2420, 1341.100000, -1565.900000, 12.800000, 0.000000, 0.000000, 344.000000);
        CreateObject(955, 1350.600000, -1555.700000, 12.500000, 0.000000, 0.000000, 256.000000);
    }
    stock PlayerName(playerid)
    {
            static name[MAX_PLAYER_NAME];
            GetPlayerName(playerid,name,sizeof(name));
            return name;
    }



Erro ao copilar  D07Xwqb
Erro ao copilar  Yjab9HN
Sŵєєт ١
--> Hiper postador
--> Hiper postador
Sŵєєт ١
Steam Steam : Administrador e Designer
Zello : SSGamers
Mensagens : 2175
Moedas : 5901
Data de inscrição : 12/10/2015
Idade : 23
Localização : Portugal

Mensagem por Sŵєєт ١ em Dom 26 Maio 2019 - 10:39

Código:
// fader.inc by Gammix
#if defined fader_included
   #endinput
#endif
#define fader_included

#include <a_samp>

#if !defined MAX_TEXT_DRAW_FADES
   #define MAX_TEXT_DRAW_FADES (16)
#endif

#define RGBA(%0,%1,%2,%3,%4) \
   (((%1) = ((%0) >>> 24)),\
   ((%2) = (((%0) >>> 16) & 0xFF)),\
   ((%3) = (((%0) >>> 8) & 0xFF)),\
   ((%4) = ((%0) & 0xFF)))

#define HEX(%0,%1,%2,%3,%4) \
   ((%0) = ((%4) & 0xFF) | \
   (((%3) & 0xFF) << 8) | \
   (((%2) & 0xFF) << 16) | \
   ((%1) << 24))

#define TEXTDRAW_FADE_TYPE_GLOBAL 0
#define TEXTDRAW_FADE_TYPE_PLAYER 1

#define TEXTDRAW_FADE_TEXT 0
#define TEXTDRAW_FADE_BOX 1

enum E_TEXTDRAW_FADE_DATA {
   bool:TEXTDRAW_FADE_VALID,
   TEXTDRAW_FADE_TEXTDRAW_ID,
   TEXTDRAW_FADE_TEXTDRAW_TYPE,
   TEXTDRAW_FADE_TIMER,
   TEXTDRAW_FADE_FROM_COLOR,
   TEXTDRAW_FADE_TO_COLOR,
   TEXTDRAW_FADE_TYPE
};

static textDrawFader[MAX_PLAYERS][MAX_TEXT_DRAW_FADES][E_TEXTDRAW_FADE_DATA];
static textDrawFaderCount[MAX_PLAYERS];

////////////////////////////////////
// GLOBAL TEXTDRAW FADER FUNCTIONS
////////////////////////////////////

/****************************************************
* Function:     TextDrawFadeForPlayer()
* Purpose:       Start fadinga global textdraw text color for player!
* Parameters:   "playerid" - player's id
*             "text" - textdraw id
*            "from_color" - starting fade color
*             "to_color" - ending fade color
*             "update_rate" - rate at which the color fades during each timer's interval
*             "timer_interval" - speed of timer
* Return:       1 - success
*             0 - failure
****************************************************/
forward TextDrawFadeForPlayer(playerid, Text:text, from_color, to_color, update_rate = 2, timer_interval = 50);

/****************************************************
* Function:     TextDrawBoxFadeForPlayer()
* Purpose:       Start fadinga global textdraw box color for player!
* Parameters:   "playerid" - player's id
*             "text" - textdraw id
*            "from_color" - starting fade color
*             "to_color" - ending fade color
*             "update_rate" - rate at which the color fades during each timer's interval
*             "timer_interval" - speed of timer
* Return:       1 - success
*             0 - failure
****************************************************/
forward TextDrawBoxFadeForPlayer(playerid, Text:text, from_color, to_color, update_rate = 2, timer_interval = 50);

/****************************************************
* Function:     TextDrawStopFadeForPlayer()
* Purpose:       Stop fading a global textdraw text color for player!
* Parameters:   "playerid" - player's id
*             "text" - textdraw id
* Return:       1 - success
*             0 - failure
****************************************************/
forward TextDrawStopFadeForPlayer(playerid, Text:text);

/****************************************************
* Function:     TextDrawStopBoxFadeForPlayer()
* Purpose:       Stop fading a global textdraw box color for player!
* Parameters:   "playerid" - player's id
*             "text" - textdraw id
* Return:       1 - success
*             0 - failure
****************************************************/
forward TextDrawStopBoxFadeForPlayer(playerid, Text:text);

#if defined OnTextDrawFaded
   /****************************************************
   * Method:     OnTextDrawFaded()
   * Purpose:       Called when the textdraw is fully faded to the final color
   * Parameters:   "playerid" - player's id
   *             "text" - textdraw id
   *              "type" - 0 (TEXTDRAW_FADE_TEXT), 1(TEXTDRAW_FADE_BOX)
   *              "from_color" - intial color
   *              "to_color" - final color the TD faded to
   * Return:       -
   ****************************************************/
   forward OnTextDrawFaded(playerid, Text:text, type, from_color, to_color);
#endif

////////////////////////////////////
// PLAYER TEXTDRAW FADER FUNCTIONS
////////////////////////////////////

/****************************************************
* Function:     PlayerTextDrawFade()
* Purpose:       Start fadinga player textdraw text color for player!
* Parameters:   "playerid" - player's id
*             "text" - player textdraw id
*            "from_color" - starting fade color
*             "to_color" - ending fade color
*             "update_rate" - rate at which the color fades during each timer's interval
*             "timer_interval" - speed of timer
* Return:       1 - success
*             0 - failure
****************************************************/
forward PlayerTextDrawFade(playerid, PlayerText:text, from_color, to_color, update_rate = 2, timer_interval = 50);

/****************************************************
* Function:     PlayerTextDrawBoxFade()
* Purpose:       Start fadinga player textdraw box color for player!
* Parameters:   "playerid" - player's id
*             "text" - player textdraw id
*            "from_color" - starting fade color
*             "to_color" - ending fade color
*             "update_rate" - rate at which the color fades during each timer's interval
*             "timer_interval" - speed of timer
* Return:       1 - success
*             0 - failure
****************************************************/
forward PlayerTextDrawBoxFade(playerid, PlayerText:text, from_color, to_color, update_rate = 2, timer_interval = 50);

/****************************************************
* Function:     PlayerTextDrawStopFade()
* Purpose:       Stop fading a player textdraw text color!
* Parameters:   "playerid" - player's id
*             "text" - textdraw id
* Return:       1 - success
*             0 - failure
****************************************************/
forward PlayerTextDrawStopFade(playerid, PlayerText:text);

/****************************************************
* Function:     PlayerTextDrawStopBoxFade()
* Purpose:       Stop fading a player textdraw box color!
* Parameters:   "playerid" - player's id
*             "text" - textdraw id
* Return:       1 - success
*             0 - failure
****************************************************/
forward PlayerTextDrawStopBoxFade(playerid, PlayerText:text);

#if defined OnPlayerTextDrawFaded
   /****************************************************
   * Method:     OnPlayerTextDrawFaded()
   * Purpose:       Called when the player textdraw is fully faded to the final color
   * Parameters:   "playerid" - player's id
   *             "text" - player textdraw id
   *              "type" - 0 (TEXTDRAW_FADE_TEXT), 1(TEXTDRAW_FADE_BOX)
   *              "from_color" - intial color
   *              "to_color" - final color the TD faded to
   * Return:       -
   ****************************************************/
   forward OnPlayerTextDrawFaded(playerid, PlayerText:text, type, from_color, to_color);
#endif

////////////////////////////////////

static Internal_StopFade(playerid, idx) {
    KillTimer(textDrawFader[playerid][idx][TEXTDRAW_FADE_TIMER]);
     textDrawFader[playerid][idx][TEXTDRAW_FADE_TIMER] = -1;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_VALID] = false;

   for (; idx < (textDrawFaderCount[playerid] - 1); idx++) {
       textDrawFader[playerid][idx] = textDrawFader[playerid][idx + 1];
   }

   --textDrawFaderCount[playerid];
}

stock TextDrawFadeForPlayer(playerid, Text:text, from_color, to_color, update_rate = 2, timer_interval = 50) {
   if (playerid < 0 || playerid >= MAX_PLAYERS) {
      return 0;
   }

   if (text < Text:0 || text >= Text:MAX_TEXT_DRAWS) {
       return 0;
   }

   if (textDrawFaderCount[playerid] == MAX_TEXT_DRAW_FADES) {
      TextDrawStopFadeForPlayer(playerid, text);
   }

   new idx = textDrawFaderCount[playerid]++;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_VALID] = true;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_TEXTDRAW_ID] = _:text;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_TEXTDRAW_TYPE] = TEXTDRAW_FADE_TYPE_GLOBAL;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_TIMER] = SetTimerEx("OnTextDrawFade", timer_interval, true, "iiii", playerid, idx, update_rate, from_color);
   textDrawFader[playerid][idx][TEXTDRAW_FADE_FROM_COLOR] = from_color;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_TO_COLOR] = to_color;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_TYPE] = TEXTDRAW_FADE_TEXT;

   TextDrawColor(text, from_color);
   TextDrawShowForPlayer(playerid, text);
   return 1;
}

stock TextDrawBoxFadeForPlayer(playerid, Text:text, from_color, to_color, update_rate = 2, timer_interval = 50) {
   if (playerid < 0 || playerid >= MAX_PLAYERS) {
      return 0;
   }

   if (text < Text:0 || text >= Text:MAX_TEXT_DRAWS) {
       return 0;
   }

   if (textDrawFaderCount[playerid] == MAX_TEXT_DRAW_FADES) {
      TextDrawStopBoxFadeForPlayer(playerid, text);
   }

   new idx = textDrawFaderCount[playerid]++;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_VALID] = true;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_TEXTDRAW_ID] = _:text;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_TEXTDRAW_TYPE] = TEXTDRAW_FADE_TYPE_GLOBAL;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_TIMER] = SetTimerEx("OnTextDrawFade", timer_interval, true, "iiii", playerid, idx, update_rate, from_color);
   textDrawFader[playerid][idx][TEXTDRAW_FADE_FROM_COLOR] = from_color;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_TO_COLOR] = to_color;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_TYPE] = TEXTDRAW_FADE_BOX;

   TextDrawBoxColor(text, from_color);
   TextDrawShowForPlayer(playerid, text);
   return 1;
}

stock TextDrawStopFadeForPlayer(playerid, Text:text) {
   if (playerid < 0 || playerid >= MAX_PLAYERS) {
      return 0;
   }

   if (text < Text:0 || text >= Text:MAX_TEXT_DRAWS) {
       return 0;
   }

   for (new i = 0; i < textDrawFaderCount[playerid]; i++) {
      if (textDrawFader[playerid][i][TEXTDRAW_FADE_VALID] == true) {
         if (textDrawFader[playerid][i][TEXTDRAW_FADE_TEXTDRAW_ID] == _:text && textDrawFader[playerid][i][TEXTDRAW_FADE_TEXTDRAW_TYPE] == TEXTDRAW_FADE_TYPE_GLOBAL && textDrawFader[playerid][i][TEXTDRAW_FADE_TYPE] == TEXTDRAW_FADE_TEXT) {
            TextDrawHideForPlayer(playerid, Text:textDrawFader[playerid][i][TEXTDRAW_FADE_TEXTDRAW_ID]);
            Internal_StopFade(playerid, i);
            return 1;
         }
      }
   }

   return 0;
}

stock TextDrawStopBoxFadeForPlayer(playerid, Text:text) {
   if (playerid < 0 || playerid >= MAX_PLAYERS) {
      return 0;
   }

   if (text < Text:0 || text >= Text:MAX_TEXT_DRAWS) {
       return 0;
   }

   for (new i = 0; i < textDrawFaderCount[playerid]; i++) {
      if (textDrawFader[playerid][i][TEXTDRAW_FADE_VALID] == true) {
         if (textDrawFader[playerid][i][TEXTDRAW_FADE_TEXTDRAW_ID] == _:text && textDrawFader[playerid][i][TEXTDRAW_FADE_TEXTDRAW_TYPE] == TEXTDRAW_FADE_TYPE_GLOBAL && textDrawFader[playerid][i][TEXTDRAW_FADE_TYPE] == TEXTDRAW_FADE_BOX) {
            TextDrawHideForPlayer(playerid, Text:textDrawFader[playerid][i][TEXTDRAW_FADE_TEXTDRAW_ID]);
            Internal_StopFade(playerid, i);
            return 1;
         }
      }
   }

   return 0;
}

stock PlayerTextDrawFade(playerid, PlayerText:text, from_color, to_color, update_rate = 2, timer_interval = 50) {
   if (playerid < 0 || playerid >= MAX_PLAYERS) {
      return 0;
   }

   if (text < PlayerText:0 || text >= PlayerText:MAX_PLAYER_TEXT_DRAWS) {
       return 0;
   }

   if (textDrawFaderCount[playerid] == MAX_TEXT_DRAW_FADES) {
      PlayerTextDrawStopFade(playerid, text);
   }

   new idx = textDrawFaderCount[playerid]++;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_VALID] = true;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_TEXTDRAW_ID] = _:text;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_TEXTDRAW_TYPE] = TEXTDRAW_FADE_TYPE_PLAYER;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_TIMER] = SetTimerEx("OnTextDrawFade", timer_interval, true, "iii", playerid, idx, update_rate);
   textDrawFader[playerid][idx][TEXTDRAW_FADE_FROM_COLOR] = from_color;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_TO_COLOR] = to_color;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_TYPE] = TEXTDRAW_FADE_TEXT;

   PlayerTextDrawColor(playerid, text, from_color);
   PlayerTextDrawShow(playerid, text);
   return 1;
}

stock PlayerTextDrawBoxFade(playerid, PlayerText:text, from_color, to_color, update_rate = 2, timer_interval = 50) {
   if (playerid < 0 || playerid >= MAX_PLAYERS) {
      return 0;
   }

   if (text < PlayerText:0 || text >= PlayerText:MAX_PLAYER_TEXT_DRAWS) {
       return 0;
   }

   if (textDrawFaderCount[playerid] == MAX_TEXT_DRAW_FADES) {
      PlayerTextDrawStopBoxFade(playerid, text);
   }

   new idx = textDrawFaderCount[playerid]++;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_VALID] = true;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_TEXTDRAW_ID] = _:text;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_TEXTDRAW_TYPE] = TEXTDRAW_FADE_TYPE_PLAYER;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_TIMER] = SetTimerEx("OnTextDrawFade", timer_interval, true, "iii", playerid, idx, update_rate);
   textDrawFader[playerid][idx][TEXTDRAW_FADE_FROM_COLOR] = from_color;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_TO_COLOR] = to_color;
   textDrawFader[playerid][idx][TEXTDRAW_FADE_TYPE] = TEXTDRAW_FADE_BOX;

   PlayerTextDrawBoxColor(playerid, text, from_color);
   PlayerTextDrawShow(playerid, text);
   return 1;
}

stock PlayerTextDrawStopFade(playerid, PlayerText:text) {
   if (playerid < 0 || playerid >= MAX_PLAYERS) {
      return 0;
   }

   if (text < PlayerText:0 || text >= PlayerText:MAX_TEXT_DRAWS) {
       return 0;
   }

   for (new i = 0; i < textDrawFaderCount[playerid]; i++) {
      if (textDrawFader[playerid][i][TEXTDRAW_FADE_VALID] == true) {
         if (textDrawFader[playerid][i][TEXTDRAW_FADE_TEXTDRAW_ID] == _:text && textDrawFader[playerid][i][TEXTDRAW_FADE_TEXTDRAW_TYPE] == TEXTDRAW_FADE_TYPE_PLAYER && textDrawFader[playerid][i][TEXTDRAW_FADE_TYPE] == TEXTDRAW_FADE_TEXT) {
            PlayerTextDrawHide(playerid, PlayerText:textDrawFader[playerid][i][TEXTDRAW_FADE_TEXTDRAW_ID]);
            Internal_StopFade(playerid, i);
            return 1;
         }
      }
   }

   return 0;
}

stock PlayerTextDrawStopBoxFade(playerid, PlayerText:text) {
   if (playerid < 0 || playerid >= MAX_PLAYERS) {
      return 0;
   }

   if (text < PlayerText:0 || text >= PlayerText:MAX_TEXT_DRAWS) {
       return 0;
   }

   for (new i = 0; i < textDrawFaderCount[playerid]; i++) {
      if (textDrawFader[playerid][i][TEXTDRAW_FADE_VALID] == true) {
         if (textDrawFader[playerid][i][TEXTDRAW_FADE_TEXTDRAW_ID] == _:text && textDrawFader[playerid][i][TEXTDRAW_FADE_TEXTDRAW_TYPE] == TEXTDRAW_FADE_TYPE_PLAYER && textDrawFader[playerid][i][TEXTDRAW_FADE_TYPE] == TEXTDRAW_FADE_BOX) {
            PlayerTextDrawHide(playerid, PlayerText:textDrawFader[playerid][i][TEXTDRAW_FADE_TEXTDRAW_ID]);
            Internal_StopFade(playerid, i);
            return 1;
         }
      }
   }

   return 0;
}

forward OnTextDrawFade(playerid, idx, update_rate, from_color);
public OnTextDrawFade(playerid, idx, update_rate, from_color) {
   new newcolor[4];
   new finalcolor[4];

    RGBA(textDrawFader[playerid][idx][TEXTDRAW_FADE_FROM_COLOR], newcolor[0], newcolor[1], newcolor[2], newcolor[3]);
   RGBA(textDrawFader[playerid][idx][TEXTDRAW_FADE_TO_COLOR], finalcolor[0], finalcolor[1], finalcolor[2], finalcolor[3]);

   for (new i; i < sizeof newcolor; i++) {
      if (newcolor[i] > finalcolor[i]) {
          newcolor[i] -= update_rate;

          if (newcolor[i] <= finalcolor[i]) {
             newcolor[i] = finalcolor[i];
          }
      }
      else if (newcolor[i] < finalcolor[i]) {
          newcolor[i] += update_rate;

          if (newcolor[i] >= finalcolor[i]) {
             newcolor[i] = finalcolor[i];
          }
      }
   }

   HEX(textDrawFader[playerid][idx][TEXTDRAW_FADE_FROM_COLOR], newcolor[0], newcolor[1], newcolor[2], newcolor[3]);

   if (textDrawFader[playerid][idx][TEXTDRAW_FADE_TEXTDRAW_TYPE] == TEXTDRAW_FADE_TYPE_GLOBAL) {
      if (textDrawFader[playerid][idx][TEXTDRAW_FADE_TYPE] == TEXTDRAW_FADE_TEXT) {
         TextDrawColor(Text:textDrawFader[playerid][idx][TEXTDRAW_FADE_TEXTDRAW_ID], textDrawFader[playerid][idx][TEXTDRAW_FADE_FROM_COLOR]);
      } else {
         TextDrawBoxColor(Text:textDrawFader[playerid][idx][TEXTDRAW_FADE_TEXTDRAW_ID], textDrawFader[playerid][idx][TEXTDRAW_FADE_FROM_COLOR]);
      }
      TextDrawShowForPlayer(playerid, Text:textDrawFader[playerid][idx][TEXTDRAW_FADE_TEXTDRAW_ID]);
   }
   else {
      if (textDrawFader[playerid][idx][TEXTDRAW_FADE_TYPE] == TEXTDRAW_FADE_TEXT) {
         PlayerTextDrawColor(playerid, PlayerText:textDrawFader[playerid][idx][TEXTDRAW_FADE_TEXTDRAW_ID], textDrawFader[playerid][idx][TEXTDRAW_FADE_FROM_COLOR]);
      } else {
         PlayerTextDrawBoxColor(playerid, PlayerText:textDrawFader[playerid][idx][TEXTDRAW_FADE_TEXTDRAW_ID], textDrawFader[playerid][idx][TEXTDRAW_FADE_FROM_COLOR]);
      }
      PlayerTextDrawShow(playerid, PlayerText:textDrawFader[playerid][idx][TEXTDRAW_FADE_TEXTDRAW_ID]);
   }


   if (textDrawFader[playerid][idx][TEXTDRAW_FADE_FROM_COLOR] == textDrawFader[playerid][idx][TEXTDRAW_FADE_TO_COLOR]) {
      if (textDrawFader[playerid][idx][TEXTDRAW_FADE_TEXTDRAW_TYPE] == TEXTDRAW_FADE_TYPE_GLOBAL) {
         TextDrawHideForPlayer(playerid, Text:textDrawFader[playerid][idx][TEXTDRAW_FADE_TEXTDRAW_ID]);
         Internal_StopFade(playerid, idx);

         #if defined OnTextDrawFaded
             OnTextDrawFaded(playerid, Text:textDrawFader[playerid][idx][TEXTDRAW_FADE_TEXTDRAW_ID], textDrawFader[playerid][idx][TEXTDRAW_FADE_TYPE], from_color, textDrawFader[playerid][idx][TEXTDRAW_FADE_TO_COLOR]);
         #endif
      }
      else {
         PlayerTextDrawHide(playerid, PlayerText:textDrawFader[playerid][idx][TEXTDRAW_FADE_TEXTDRAW_ID]);
         Internal_StopFade(playerid, idx);

         #if defined OnPlayerTextDrawFaded
             OnPlayerTextDrawFaded(playerid, PlayerText:textDrawFader[playerid][idx][TEXTDRAW_FADE_TEXTDRAW_ID], textDrawFader[playerid][idx][TEXTDRAW_FADE_TYPE], from_color, textDrawFader[playerid][idx][TEXTDRAW_FADE_TO_COLOR]);
         #endif
      }
   }
}



Erro ao copilar  IRIwb
Erro ao copilar  VxgcpnW
Erro ao copilar  IRIwb

Atenciosamente Administrador SSGamers

Respeite as Regras e os Usuários. 

Evitem serem Punidos por não lerem as Regras.
Erro ao copilar  JOeZtb5

Para os admiradores, e para os invejosos. Use & Abuse.

Erro ao copilar  XG2Rl99
[L.P]Antonio_ASM
--> Postador Médio
--> Postador Médio
[L.P]Antonio_ASM
Mensagens : 84
Moedas : 185
Data de inscrição : 14/01/2020
Idade : 19
Localização : Meu PC

Mensagem por [L.P]Antonio_ASM em Qui 16 Jan 2020 - 20:51

Conseguiu resolver??



Meu Discord [L.P]Antonio_ASM#4034

SSGAMERS Discord
[L.P]Antonio_ASM
--> Postador Médio
--> Postador Médio
[L.P]Antonio_ASM
Mensagens : 84
Moedas : 185
Data de inscrição : 14/01/2020
Idade : 19
Localização : Meu PC

Mensagem por [L.P]Antonio_ASM em Qui 16 Jan 2020 - 20:51

Conseguiu resolver??



Meu Discord [L.P]Antonio_ASM#4034

SSGAMERS Discord
Conteúdo patrocinado

Mensagem por Conteúdo patrocinado


^
subir
Data/hora atual: Sab 4 Abr 2020 - 12:35