[Ajuda] Ativar Textdraw
#5

pawn Код:
#define DIALOG_TextDraw         8
pawn Код:
if(strcmp("/textdraws",cmd, true)== 0)
    {
    new string[228];
    strcat(string,"{FF0000}***Ativar*** - {FFFFFF}Textdraw 1\n{FF0000}***Ativar*** - {FFFFFF}Textdraw 1\n");
    ShowPlayerDialog(playerid, DIALOG_TextDraw, DIALOG_STYLE_LIST,"TextDraws [TBD].",string,"Entrar","Sair");
    return 1;
    }
pawn Код:
if(dialogid == DIALOG_TextDraw) {
    if(!response) return SendClientMessage(playerid,-1,"Cancelado com sucesso!");
    if(listitem == 0) {
            if(Textdraw1 = 0)
            TextDrawShowForPlayer(playerid, Textdraw1);
            }
            else if(Textdraw1 = 1)
            {
            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);
        }
    return 1;
}
Desse Jeito dou 4 Warnigs Devidas linhas de verificaзao

pawn Код:
C:\Users\Dragon\Desktop\Server\gamemodes\TBDa.pwn(9717) : warning 211: possibly unintended assignment
C:\Users\Dragon\Desktop\Server\gamemodes\TBDa.pwn(9717) : warning 213: tag mismatch
C:\Users\Dragon\Desktop\Server\gamemodes\TBDa.pwn(9720) : warning 211: possibly unintended assignment
C:\Users\Dragon\Desktop\Server\gamemodes\TBDa.pwn(9720) : warning 213: tag mismatch
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Warnings.
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: 2 Guest(s)