[Ajuda] Comando nгo funciona
#12

Quote:
Originally Posted by zF3lKy3
Посмотреть сообщение
PHP код:
if(strcmp(cmdtext"/logaradm"true) == 0)
{
    if(
pAdmin[playerid] >= 1)
     {
          
ShowPlayerDialog(playerid1533DIALOG_STYLE_PASSWORD"Login Administrativo""Insira a senha da administraзгo:""Logar""Sair");
    }
    return 
0x01;
}
switch(
dialogid)
{
    case 
1533:
     {
        if(
response)
        {
              new 
senhaadm[256], string[128];
             
senhaadm "bcvirtual2018";
            if(
strcmp(inputtextsenhaadmtrue) == 0)
             {
                   
logadoadm[playerid] = 1;
                   
                
format(stringsizeof(string), "| BCV-Admin | Bem vindo(a) %s seus comandos de %s foram carregados com sucesso!"PlayerName(playerid), CargoAdmin(playerid));
                
SendClientMessage(playerid0x058AFFFF, , string);
            }
             else
            {
                
SendClientMessage(playerid0xFF0000FF"Vocк errou a senha para logar como administrador!");
            }
        }
    }
      return 
1;

Nгo cheguei a testar. Teste!
Deu certo manoo!! Vlw, tmj!
Reply


Messages In This Thread
Comando nгo funciona - by LeonardoMD - 13.11.2018, 19:34
Re: Comando nгo funciona - by Electrifying - 13.11.2018, 19:42
Re: Comando nгo funciona - by LeonardoMD - 13.11.2018, 19:46
Re: Comando nгo funciona - by LeonardoMD - 13.11.2018, 20:05
Re: Comando nгo funciona - by rjjj - 13.11.2018, 20:19
Re: Comando nгo funciona - by LeonardoMD - 13.11.2018, 20:25
Re: Comando nгo funciona - by vitinhosamp - 13.11.2018, 20:35
Re: Comando nгo funciona - by LeonardoMD - 13.11.2018, 20:38
Re: Comando nгo funciona - by rjjj - 14.11.2018, 11:39
Re: Comando nгo funciona - by zF3lKy3 - 14.11.2018, 13:45
Re: Comando nгo funciona - by bruxo00 - 14.11.2018, 18:38
Re: Comando nгo funciona - by LeonardoMD - 14.11.2018, 19:29
Re: Comando nгo funciona - by zF3lKy3 - 14.11.2018, 20:32
Re: Comando nгo funciona - by LeonardoMD - 15.11.2018, 18:39
Re: Comando nгo funciona - by Electrifying - 15.11.2018, 19:03
Re: Comando nгo funciona - by LeonardoMD - 15.11.2018, 19:21

Forum Jump:


Users browsing this thread: 1 Guest(s)