SA-MP Forums Archive
[Ajuda] dialog nгo aparece - 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: [Ajuda] dialog nгo aparece (/showthread.php?tid=555275)



dialog nгo aparece - CZ - 07.01.2015

Galera to com problema aqui a dialog nгo que aparece

pawn Код:
dcmd_cmd(playerid,params[]) {
    #pragma unused params
    if(PlayerInfo[playerid][Level] == 0)
    {
    return SendClientMessage(playerid,red,"Vocк nгo й Administrador");
    }
    if(PlayerInfo[playerid][Level] == 1)
    {
    new cmd[93949];
    strins(cmd,"{FF0000}Comandos Admin Nivel 1:\n{FFFFFF}/ban, /tempban, /extra, /getinfo, /weaps, /vr, /lhy, /lp, /asay, /ping, /infoacc,\n",strlen(cmd));
    strins(cmd,"/morning, /adminarea, /reports, /richlist, /tapa, /desavisar\n",strlen(cmd));
    strins(cmd," /lspec, /lspecoff, /explodir, /queimar, /ltc, /avisar, /mae\n",strlen(cmd));
    strins(cmd,"/saveskin, /useskin, /dontuseskin, /setmytime, /ip, /kick, /lconfig.\n",strlen(cmd));
    ShowPlayerDialog(playerid,8439, DIALOG_STYLE_MSGBOX, "",cmd, "Fechar", "");
    }
    if(PlayerInfo[playerid][Level] == 2)
    {
    new cmd[93949];
    strins(cmd,"{FF0000}Comandos Admin Nivel 1:\n{FFFFFF}/ban, /tempban, /extra, /getinfo, /weaps, /vr, /lhy, /lp, /asay, /ping, /infoacc,\n",strlen(cmd));
    strins(cmd,"/morning, /adminarea, /reports, /richlist, /tapa, /desavisar\n",strlen(cmd));
    strins(cmd," /lspec, /lspecoff, /explodir, /queimar, /ltc, /avisar, /mae\n",strlen(cmd));
    strins(cmd,"/saveskin, /useskin, /dontuseskin, /setmytime, /ip, /kick, /lconfig.\n",strlen(cmd));
    strins(cmd,"\n",strlen(cmd));
    strins(cmd,"{FF0000}Comandos Admin Nivel 2:\n{FFFFFF}/giveweapon, /ltune, /setcolour, /lockcar, /unlockcar, /spawn, /disarm, /lcar, /lbike,\n",strlen(cmd));
    strins(cmd,"/lheli, /lboat, /lnos, /lplane, /highlight, /ann, /announce2, /screen,  /aflip,\n",strlen(cmd));
    strins(cmd,"/ir , /vgoto, /lgoto, /jailed, /travados, /mute, /unmute, /muted, /repair,\n",strlen(cmd));
    strins(cmd,"/laston, /lspecvehicle, /clearallchat, /lmenu, /ltele, /cm, /ltmenu, /jail, /write.\n",strlen(cmd));
    strins(cmd,"\n",strlen(cmd));
    ShowPlayerDialog(playerid,8439, DIALOG_STYLE_MSGBOX, "",cmd, "Fechar", "");
    }
    if(PlayerInfo[playerid][Level] == 3)
    {
    new cmd[93949];
    strins(cmd,"{FF0000}Comandos Admin Nivel 1:\n{FFFFFF}/ban, /tempban, /extra, /getinfo, /weaps, /vr, /lhy, /lp, /asay, /ping, /infoacc,\n",strlen(cmd));
    strins(cmd,"/morning, /adminarea, /reports, /richlist, /tapa, /desavisar\n",strlen(cmd));
    strins(cmd," /lspec, /lspecoff, /explodir, /queimar, /ltc, /avisar, /mae\n",strlen(cmd));
    strins(cmd,"/saveskin, /useskin, /dontuseskin, /setmytime, /ip, /kick, /lconfig.\n",strlen(cmd));
    strins(cmd,"\n",strlen(cmd));
    strins(cmd,"{FF0000}Comandos Admin Nivel 2:\n{FFFFFF}/giveweapon, /ltune, /setcolour, /lockcar, /unlockcar, /spawn, /disarm, /lcar, /lbike,\n",strlen(cmd));
    strins(cmd,"/lheli, /lboat, /lnos, /lplane, /highlight, /ann, /announce2, /screen,  /aflip,\n",strlen(cmd));
    strins(cmd,"/ir , /vgoto, /lgoto, /jailed, /travados, /mute, /unmute, /muted, /repair,\n",strlen(cmd));
    strins(cmd,"/laston, /lspecvehicle, /clearallchat, /lmenu, /ltele, /cm, /ltmenu, /jail, /write.\n",strlen(cmd));
    strins(cmd,"\n",strlen(cmd));
    strins(cmd,"{FF0000}Comandos Admin Nivel 3:\n{FFFFFF}/unbanip, /sethealth, /setcolete, /setskin, /setwanted,\n",strlen(cmd));
    strins(cmd,"/setworld, /setinterior, /force, /eject, /ubound, /lweaps,\n",strlen(cmd));
    strins(cmd,"/lammo, /countdown, /duel, /car, /carhealth, /carcolour, /setping,\n",strlen(cmd));
    strins(cmd,"/teleplayer, /vget, /givecar, /gethere, /trazer, /unjail, /travar, /saveplace, /gotoplace,\n",strlen(cmd));
    strins(cmd,"/destravar, /akill,/aka, /disablechat, /clearallchat, /caps, /move, /moveplayer, /healall,\n",strlen(cmd));
    strins(cmd,"/armourall, /setallskin, /setallwanted, /setalltime, /setallworld, /lslowmo\n",strlen(cmd));
    strins(cmd,"/lweather, /ltime, /lweapons\n",strlen(cmd));
    ShowPlayerDialog(playerid,8439, DIALOG_STYLE_MSGBOX, "",cmd, "Fechar", "");
    }
    if(PlayerInfo[playerid][Level] == 4)
    {
    new cmd[93949];
    strins(cmd,"{FF0000}Comandos Admin Nivel 1:\n{FFFFFF}/ban, /tempban, /extra, /getinfo, /weaps, /vr, /lhy, /lp, /asay, /ping, /infoacc,\n",strlen(cmd));
    strins(cmd,"/morning, /adminarea, /reports, /richlist, /tapa, /desavisar\n",strlen(cmd));
    strins(cmd," /lspec, /lspecoff, /explodir, /queimar, /ltc, /avisar, /mae\n",strlen(cmd));
    strins(cmd,"/saveskin, /useskin, /dontuseskin, /setmytime, /ip, /kick, /lconfig.\n",strlen(cmd));
    strins(cmd,"\n",strlen(cmd));
    strins(cmd,"{FF0000}Comandos Admin Nivel 2:\n{FFFFFF}/giveweapon, /ltune, /setcolour, /lockcar, /unlockcar, /spawn, /disarm, /lcar, /lbike,\n",strlen(cmd));
    strins(cmd,"/lheli, /lboat, /lnos, /lplane, /highlight, /ann, /announce2, /screen,  /aflip,\n",strlen(cmd));
    strins(cmd,"/ir , /vgoto, /lgoto, /jailed, /travados, /mute, /unmute, /muted, /repair,\n",strlen(cmd));
    strins(cmd,"/laston, /lspecvehicle, /clearallchat, /lmenu, /ltele, /cm, /ltmenu, /jail, /write.\n",strlen(cmd));
    strins(cmd,"\n",strlen(cmd));
    strins(cmd,"{FF0000}Comandos Admin Nivel 3:\n{FFFFFF}/unbanip, /sethealth, /setcolete, /setskin, /setwanted,\n",strlen(cmd));
    strins(cmd,"/setworld, /setinterior, /force, /eject, /ubound, /lweaps,\n",strlen(cmd));
    strins(cmd,"/lammo, /countdown, /duel, /car, /carhealth, /carcolour, /setping,\n",strlen(cmd));
    strins(cmd,"/teleplayer, /vget, /givecar, /gethere, /trazer, /unjail, /travar, /saveplace, /gotoplace,\n",strlen(cmd));
    strins(cmd,"/destravar, /akill,/aka, /disablechat, /clearallchat, /caps, /move, /moveplayer, /healall,\n",strlen(cmd));
    strins(cmd,"/armourall, /setallskin, /setallwanted, /setalltime, /setallworld, /lslowmo\n",strlen(cmd));
    strins(cmd,"/lweather, /ltime, /lweapons\n",strlen(cmd));
    strins(cmd,"{FF0000}Comandos Admin Nivel 4:\n{FFFFFF}/enable, /disable, /ban, /crash, /spam, /god, /godcar, /die, /uconfig,\n",strlen(cmd));
    strins(cmd,"/fakedeath, /spawnall, /muteall, /unmuteall, /getall, /killall, /freezeall,\n",strlen(cmd));
    strins(cmd,"/unfreezeall, /kickall, /tapaalll, /explodeall, /disarmall, /ejectall,\n",strlen(cmd));
    strins(cmd,"/banip, /banacc, /lvup, /unbanacc\n",strlen(cmd));
    ShowPlayerDialog(playerid,8439, DIALOG_STYLE_MSGBOX, "",cmd, "Fechar", "");
    }
    if(PlayerInfo[playerid][Level] == 5)
    {
       new cmd[93949]; //
    strins(cmd,"{FF0000}Comandos Admin Nivel 1:\n{FFFFFF}/ban, /tempban, /extra, /getinfo, /weaps, /vr, /lhy, /lp, /asay, /ping, /infoacc,\n",strlen(cmd));
    strins(cmd,"/morning, /adminarea, /reports, /richlist, /tapa, /desavisar\n",strlen(cmd));
    strins(cmd," /lspec, /lspecoff, /explodir, /queimar, /ltc, /avisar, /mae\n",strlen(cmd));
    strins(cmd,"/saveskin, /useskin, /dontuseskin, /setmytime, /ip, /kick, /lconfig.\n",strlen(cmd));
    strins(cmd,"\n",strlen(cmd));
    strins(cmd,"{FF0000}Comandos Admin Nivel 2:\n{FFFFFF}/giveweapon, /ltune, /setcolour, /lockcar, /unlockcar, /spawn, /disarm, /lcar, /lbike,\n",strlen(cmd));
    strins(cmd,"/lheli, /lboat, /lnos, /lplane, /highlight, /ann, /announce2, /screen,  /aflip,\n",strlen(cmd));
    strins(cmd,"/ir , /vgoto, /lgoto, /jailed, /travados, /mute, /unmute, /muted, /repair,\n",strlen(cmd));
    strins(cmd,"/laston, /lspecvehicle, /clearallchat, /lmenu, /ltele, /cm, /ltmenu, /jail, /write.\n",strlen(cmd));
    strins(cmd,"\n",strlen(cmd));
    strins(cmd,"{FF0000}Comandos Admin Nivel 3:\n{FFFFFF}/unbanip, /sethealth, /setcolete, /setskin, /setwanted,\n",strlen(cmd));
    strins(cmd,"/setworld, /setinterior, /force, /eject, /ubound, /lweaps,\n",strlen(cmd));
    strins(cmd,"/lammo, /countdown, /duel, /car, /carhealth, /carcolour, /setping,\n",strlen(cmd));
    strins(cmd,"/teleplayer, /vget, /givecar, /gethere, /trazer, /unjail, /travar, /saveplace, /gotoplace,\n",strlen(cmd));
    strins(cmd,"/destravar, /akill,/aka, /disablechat, /clearallchat, /caps, /move, /moveplayer, /healall,\n",strlen(cmd));
    strins(cmd,"/armourall, /setallskin, /setallwanted, /setalltime, /setallworld, /lslowmo\n",strlen(cmd));
    strins(cmd,"/lweather, /ltime, /lweapons\n",strlen(cmd));
    strins(cmd,"{FF0000}Comandos Admin Nivel 4:\n{FFFFFF}/enable, /disable, /ban, /crash, /spam, /god, /godcar, /die, /uconfig,\n",strlen(cmd));
    strins(cmd,"/fakedeath, /spawnall, /muteall, /unmuteall, /getall, /killall, /freezeall,\n",strlen(cmd));
    strins(cmd,"/unfreezeall, /kickall, /tapaalll, /explodeall, /disarmall, /ejectall,\n",strlen(cmd));
    strins(cmd,"/banip, /banacc, /lvup, /unbanacc\n",strlen(cmd));
    strins(cmd,"{FF0000}Comandos Admin Nivel 5:\n{FFFFFF}/god, /sgod, /pickup, /object, /fakechat.\n",strlen(cmd));
    strins(cmd,"/deleteacc, /novonickadm /unlockserver, /crash, /uconfig, /botcheck, /forbidname,  /lockserver,  /explodir,\n",strlen(cmd));
    strins(cmd,"/lconfig /settime, /setweather, /bankrupt, /sbankrupt, /destroycar, /setallweather.\n",strlen(cmd));
    ShowPlayerDialog(playerid,8439, DIALOG_STYLE_MSGBOX, "",cmd, "Fechar", "");
    }
    if(PlayerInfo[playerid][Level] == 6)
    {
       new cmd[93949]; //
    strins(cmd,"{FF0000}Comandos Admin Nivel 1:\n{FFFFFF}/ban, /tempban, /extra, /getinfo, /weaps, /vr, /lhy, /lp, /asay, /ping, /infoacc,\n",strlen(cmd));
    strins(cmd,"/morning, /adminarea, /reports, /richlist, /tapa, /desavisar\n",strlen(cmd));
    strins(cmd," /lspec, /lspecoff, /explodir, /queimar, /ltc, /avisar, /mae\n",strlen(cmd));
    strins(cmd,"/saveskin, /useskin, /dontuseskin, /setmytime, /ip, /kick, /lconfig.\n",strlen(cmd));
    strins(cmd,"\n",strlen(cmd));
    strins(cmd,"{FF0000}Comandos Admin Nivel 2:\n{FFFFFF}/giveweapon, /ltune, /setcolour, /lockcar, /unlockcar, /spawn, /disarm, /lcar, /lbike,\n",strlen(cmd));
    strins(cmd,"/lheli, /lboat, /lnos, /lplane, /highlight, /ann, /announce2, /screen,  /aflip,\n",strlen(cmd));
    strins(cmd,"/ir , /vgoto, /lgoto, /jailed, /travados, /mute, /unmute, /muted, /repair,\n",strlen(cmd));
    strins(cmd,"/laston, /lspecvehicle, /clearallchat, /lmenu, /ltele, /cm, /ltmenu, /jail, /write.\n",strlen(cmd));
    strins(cmd,"\n",strlen(cmd));
    strins(cmd,"{FF0000}Comandos Admin Nivel 3:\n{FFFFFF}/unbanip, /sethealth, /setcolete, /setskin, /setwanted,\n",strlen(cmd));
    strins(cmd,"/setworld, /setinterior, /force, /eject, /ubound, /lweaps,\n",strlen(cmd));
    strins(cmd,"/lammo, /countdown, /duel, /car, /carhealth, /carcolour, /setping,\n",strlen(cmd));
    strins(cmd,"/teleplayer, /vget, /givecar, /gethere, /trazer, /unjail, /travar, /saveplace, /gotoplace,\n",strlen(cmd));
    strins(cmd,"/destravar, /akill,/aka, /disablechat, /clearallchat, /caps, /move, /moveplayer, /healall,\n",strlen(cmd));
    strins(cmd,"/armourall, /setallskin, /setallwanted, /setalltime, /setallworld, /lslowmo\n",strlen(cmd));
    strins(cmd,"/lweather, /ltime, /lweapons\n",strlen(cmd));
    strins(cmd,"{FF0000}Comandos Admin Nivel 4:\n{FFFFFF}/enable, /disable, /ban, /crash, /spam, /god, /godcar, /die, /uconfig,\n",strlen(cmd));
    strins(cmd,"/fakedeath, /spawnall, /muteall, /unmuteall, /getall, /killall, /freezeall,\n",strlen(cmd));
    strins(cmd,"/unfreezeall, /kickall, /tapaalll, /explodeall, /disarmall, /ejectall,\n",strlen(cmd));
    strins(cmd,"/banip, /banacc, /lvup, /unbanacc\n",strlen(cmd));
    strins(cmd,"{FF0000}Comandos Admin Nivel 5:\n{FFFFFF}/god, /sgod, /pickup, /object, /fakechat.\n",strlen(cmd));
    strins(cmd,"/deleteacc, /novonickadm /unlockserver, /crash, /uconfig, /botcheck, /forbidname,  /lockserver,  /explodir,\n",strlen(cmd));
    strins(cmd,"/lconfig /settime, /setweather, /bankrupt, /sbankrupt, /destroycar, /setallweather.\n",strlen(cmd));
    strins(cmd,"{FF0000}Comandos Admin Nivel 6:\n{FFFFFF}/setlevel, /settemplevel, /objeto /settemplevel\n",strlen(cmd));
    strins(cmd,"/Loadfs /Unloadfs /Changemode /gmx /loadladmin /unloadladmin /reloadladmin /unbanacc /banacc /rmadm\n",strlen(cmd));
    strins(cmd,"\n",strlen(cmd));
    ShowPlayerDialog(playerid,8439, DIALOG_STYLE_MSGBOX, "",cmd, "Fechar", "");
    }
    return 0;
}



Re: dialog nгo aparece - Imaginare - 07.01.2015

https://sampwiki.blast.hk/wiki/ShowPlayerDialog