SA-MP Forums Archive
[DUV]Dialog... [RESOLVIDO] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [DUV]Dialog... [RESOLVIDO] (/showthread.php?tid=145541)



[DUV]Dialog... [RESOLVIDO] - Guilherme_Canani - 02.05.2010

Arrumei... ai o certo pra quem quiser:

pawn Code:
if(dialogid == 777)    
    {    
      if(response)      
      {      
       if(strcmp(inputtext,"exe2000",true)==0)
       {
         MoveObject(dinheiroexe,2747.927734375, -2451.8740234375, 11.441258430481,2.0);
         SetTimer("dindinexe",5000,1);
       } else { SendClientMessage(playerid, COLOR_RED, "Senha errada"); }
      }
    }



Re: [DUV]Dialog... - Flavinho153 - 02.05.2010

manda o cmd tb ne


Re: [DUV]Dialog... - Guilherme_Canani - 02.05.2010

pawn Code:
if(strcmp(cmd,"/senha",true)==0)  
  {    
    if(PlayerToPoint(2.0,playerid,2747.9279785156, -2451.8745117188, 14.191258430481))    
    {
    ShowPlayerDialog(playerid,777,DIALOG_STYLE_INPUT,"Senha para abrir","Digite sua senha abaixo:","Pronto","Cancelar");
    }    
    return 1;    
  }



Re: [DUV]Dialog... - Guilherme_Canani - 02.05.2010

Desculpa o Double... mais preciso disso urgente