[Ajuda] Ativar Textdraw
#10

pawn Код:
new bool:ttt;
if(dialogid == DIALOG_TextDraw)
{
    if(!response) return SendClientMessage(playerid,-1,"Cancelado com sucesso!");

    if(listitem == 0)
    {
        if(ttt)
        {
            TextDrawShowForPlayer(playerid, Textdraw1);
            ttt = true;
        }
        else if(!ttt)
        {
            new string[228];
            strcat(string,"{FF0000}***Desativar*** - {FFFFFF}Textdraw 1\n{FF0000}***Ativar*** - {FFFFFF}Textdraw 1\n");
            ShowPlayerDialog(playerid, DIALOG_TextDraw, DIALOG_STYLE_LIST,"TextDraws [TBD].",string,"Entrar","Sair");
            TextDrawHideForPlayer(playerid, Textdraw1);
            ttt = false;
        }
    }
    return 1;
}
Reply


Messages In This Thread
Ativar Textdraw - by TheKoDaK - 25.07.2013, 16:42
Re: Ativar Textdraw - by DarknessPT - 25.07.2013, 16:49
Re: Ativar Textdraw - by TheKoDaK - 25.07.2013, 16:58
Re: Ativar Textdraw - by DarknessPT - 25.07.2013, 17:00
Re: Ativar Textdraw - by TheKoDaK - 25.07.2013, 17:05
Re: Ativar Textdraw - by DarknessPT - 25.07.2013, 17:21
Re: Ativar Textdraw - by TheKoDaK - 25.07.2013, 17:24
Re: Ativar Textdraw - by DarknessPT - 25.07.2013, 17:30
Re: Ativar Textdraw - by TheKoDaK - 25.07.2013, 17:32
Re: Ativar Textdraw - by DarknessPT - 25.07.2013, 17:36

Forum Jump:


Users browsing this thread: 1 Guest(s)