[Ajuda] dialog.
#1

pawn Код:
if(dialogid == 10)
        {
            if(response)
            {
                if(listitem == 0)// org
                {
                    if(PlayerInfo[playerid][pMembro] == 0 && PlayerInfo[playerid][pLider] == 0)
                    {
                        Delete3DTextLabel (civil);
                        new Text3D:civil = Create3DTextLabel("Civil", COP_COLOR, 30.0, 40.0, 50.0, 40.0, 0);
                        SendClientMessage(playerid, Azulzim, "Seu titulo estб sendo colocado...");
                        Attach3DTextLabelToPlayer(civil, playerid, 0.0, 0.0, 0.7);
                    }
                    if(PlayerInfo[playerid][pMembro] == 1 && PlayerInfo[playerid][pLider] == 1)
                    {
                        Delete3DTextLabel (pm);
                        new Text3D:Pm = Create3DTextLabel("Policia Militar", COP_COLOR, 30.0, 40.0, 50.0, 40.0, 0);
                        SendClientMessage(playerid, Azulzim, "Seu titulo estб sendo colocado...");
                        Attach3DTextLabelToPlayer(Pm, playerid, 0.0, 0.0, 0.7);
                    }
                    if(PlayerInfo[playerid][pMembro] == 2 && PlayerInfo[playerid][pLider] == 2)
                    {
                        Delete3DTextLabel (cv);
                        new Text3D:cv = Create3DTextLabel("Comando vermelho", COLOR_CV, 30.0, 40.0, 50.0, 40.0, 0);
                        SendClientMessage(playerid, Azulzim, "Seu titulo estб sendo colocado...");
                        Attach3DTextLabelToPlayer(cv, playerid, 0.0, 0.0, 0.7);
                    }
                }
eu queria por um dialog para retirar os rank.. como posso fazer, eu fiz um assim..

pawn Код:
if(listitem == 3)//remover
                {
                    Delete3DTextLabel (cv);
                    Delete3DTextLabel (pm);
                    Delete3DTextLabel (civil);
                   SendClientMessage(playerid, Azulzim, "Vocк removeu seu rank");
                }
porem da erro, acho que й porque nao й gobal a new cv, pm.. oq fazer?
Reply


Messages In This Thread
dialog. - by fdsda - 05.01.2016, 17:07
Re: dialog. - by Coringa_Vilao - 05.01.2016, 17:30
Re: dialog. - by fdsda - 05.01.2016, 18:17
Re: dialog. - by Coringa_Vilao - 05.01.2016, 18:54
Re: dialog. - by [BOPE]Seu._.Madruga - 05.01.2016, 22:15

Forum Jump:


Users browsing this thread: 1 Guest(s)