[Dúvida] - SMA Hitskin_logo Hitskin.com

Isto é uma pré-visualização de um tema em Hitskin.com
Instalar o temaVoltar para a ficha do tema

Zplague

Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.

Seu portal de Zombie Plague no Brasil

Zumbis Online

Últimos assuntos

» [ANÚNCIO] Alguem vivo ai?
por Eclipse 17/9/2024, 6:39 pm

» The Fen1xS CLan | Zombie Plague | [XP/LEVELS] #2024
por hevy 5/7/2024, 8:28 pm

»
por Eclipse 29/2/2024, 12:30 am

» [Plugin] /vm Com Status
por Isr7 4/6/2023, 3:24 pm

» Alguém pra manter um servidor comigo?
por Isr7 3/6/2023, 4:52 pm

» Alguém querendo criar um servidor de zp? eu pago a host quem quiser deixar o discord ai Isr7#6920
por Isr7 3/6/2023, 3:18 pm

» PEDIDO: Multijump pros VIP
por Madness 15/3/2023, 3:44 pm

» [ZP] Modo padre para 5.0
por XperitosEspetinho123 15/7/2022, 3:31 pm

» [KZ] Servidores de cs 1.6
por [Dk]Serial-Killer 7/5/2022, 4:12 am

» [PLUGIN BY SKVD & WILLIAN] SHOP DE FANTASIAS
por dushowW 23/7/2020, 5:44 pm

Os membros mais ativos da semana

Nenhum usuário

Frases filosóficas Zplague:

....

Google Adsense

Estatísticas

Os nossos membros postaram um total de 38140 mensagens em 6680 assuntos

Temos 2796 usuários registrados

O último membro registrado é zmplugins - Henrique


+2
Leozinho
0wnderless
6 participantes

    [Dúvida] - SMA

    0wnderless
    0wnderless
    Moderador
    Moderador


    Masculino Número de Mensagens : 579
    Love you Rafaella <3
    Ammo Packs : 4438
    Honra : 20
    Data de inscrição : 24/08/2013

    [Dúvida] - SMA Empty [Dúvida] - SMA

    Mensagem por 0wnderless 7/11/2013, 6:27 am

    Pessoal achei um plugin que bloqueia o menu B, porém ele tambem bloqueia as prefixes, eu fui tentar concertar e não funcionou.
    Deram 2 erros, primeiro:
    http://prntscr.com/22gm94

    Logo após eu removi o "maxplayers" e deu este outro erro:
    http://prntscr.com/22gmew

    Alguem pode ajudar?
    Sma original:
    Código:
    /* Script generated by Pawn Studio */

    #include <amxmodx>
    #include <amxmisc>
    #include <fakemeta>
    #include <colorchat>

    #define PLUGIN "Block Command"
    #define AUTHOR "Drogocop"
    #define VERSION "1.1"

    #include "BlockCommand_inc\menu.inc"

    new szPrefix[19] = "[BC]"; //Prefix or TAG for all client_chat mensagges

    public plugin_init()
    {
     register_plugin(PLUGIN, VERSION, AUTHOR)

     register_cvar("bc_blockbuy", "1"); // All buys Blocked
     register_cvar("bc_blockradio", "1"); // Block Radio commands
     register_cvar("bc_blockchooseteam", "1"); // Block Choose Team
     register_clcmd("bc_blockchat", "cmd_chatmute", -1, "<name>") // Muted Chat of a player.
    register_clcmd("bc_blockchatmenu", "menu_chatmute", -1, "chat mute menu") // Open Chat Mute Menu
     register_concmd("say", "say_handle")
     register_concmd("say_team", "say_handle")
     register_dictionary ( "blockcommand.txt" );
     maxplayers = get_maxplayers() + 1
     SayText = get_user_msgid("SayText")
     register_cvar("bc_prefix", szPrefix);
     
    //Block  All Buy and Buy Binds
     if (get_cvar_num("bc_blockbuy"))
     {
     register_clcmd("buy", "bblocked");
     register_clcmd("cl_autobuy", "bblocked");
     register_clcmd("cl_rebuy", "bblocked");
     register_clcmd("cl_setautobuy", "bblocked");
     register_clcmd("cl_setrebuy", "bblocked");
     
    register_clcmd("glock", "bblocked");
     register_clcmd("usp", "bblocked");
     register_clcmd("p228", "bblocked");
     register_clcmd("deagle", "bblocked");
     register_clcmd("elites", "bblocked");
     register_clcmd("fn57", "bblocked");
     
    register_clcmd("mp5", "bblocked");
     register_clcmd("smg", "bblocked");
     register_clcmd("mac10", "bblocked");
     register_clcmd("tmp", "bblocked");
     register_clcmd("ump45", "bblocked");
     register_clcmd("p90", "bblocked");
     
    register_clcmd("m3", "bblocked");
     register_clcmd("xm1014", "bblocked");
     
    register_clcmd("famas", "bblocked");
     register_clcmd("m4a1", "bblocked");
     register_clcmd("ak47", "bblocked");
     register_clcmd("sg552", "bblocked");
     register_clcmd("galil", "bblocked");
    register_clcmd("aug", "bblocked");
     
    register_clcmd("scout", "bblocked");
     register_clcmd("awp", "bblocked");
     register_clcmd("sg550", "bblocked");
     register_clcmd("g3sg1", "bblocked");
     
    register_clcmd("m249", "bblocked");
     
    register_clcmd("hegren", "bblocked");
     register_clcmd("flash", "bblocked");
     register_clcmd("sgren", "bblocked");
     register_clcmd("vest", "bblocked");
     register_clcmd("vesthelm", "bblocked");
     register_clcmd("shield", "bblocked");
     register_clcmd("buyammo1", "bblocked");
     register_clcmd("buyammo1", "bblocked");
     register_clcmd("buyequip", "bblocked");
     }
     
    //Block Radio Commands
     if (get_cvar_num("bc_blockradio"))
     {
     register_clcmd("radio1", "rblocked");
     register_clcmd("radio2", "rblocked");
     register_clcmd("radio3", "rblocked");
     register_clcmd("coverme", "rblocked")
     register_clcmd("takepoint", "rblocked")
     register_clcmd("holdpos", "rblocked")
     register_clcmd("regroup", "rblocked")
     register_clcmd("followme", "rblocked")
     register_clcmd("takingfire", "rblocked")
     register_clcmd("go", "rblocked")
     register_clcmd("fallback", "rblocked")
     register_clcmd("sticktog", "rblocked")
     register_clcmd("getinpos", "rblocked")
     register_clcmd("stormfront", "rblocked")
     register_clcmd("report", "rblocked")
     register_clcmd("roger", "rblocked")
     register_clcmd("enemyspot", "rblocked")
     register_clcmd("needbackup", "rblocked")
     register_clcmd("sectorclear", "rblocked")
     register_clcmd("inposition", "rblocked")
     register_clcmd("reportingin", "rblocked")
     register_clcmd("getout", "rblocked")
     register_clcmd("negative", "rblocked")
     register_clcmd("enemydown", "rblocked")
     }
     
    //Block Choose Team
     if (get_cvar_num("bc_blockchooseteam"))
     {
     register_clcmd("chooseteam", "ctblocked");
     }
     
    //Block retry
     if (get_cvar_num("bc_blockretry"))
     {
     register_clcmd("retry", "blockr");
     }
    }

    public bblocked(id)
     {
     ColorChat(id,GREEN, "%L", id, "BLOCK_BUY", szPrefix);
     return PLUGIN_HANDLED
     }
     
    public rblocked(id)
     {
     ColorChat(id,GREEN, "%L", id, "BLOCK_RADIO", szPrefix);
     return PLUGIN_HANDLED
     }
     
    public ctblocked(id)
     {
     ColorChat(id,GREEN, "%L", id, "BLOCK_CHOOSETEAM", szPrefix);
     return PLUGIN_HANDLED
     }
    Sma editada cheia de fail:
    Código:
    /* Script generated by Pawn Studio */

    #include <amxmodx>
    #include <amxmisc>
    #include <fakemeta>
    #include <colorchat>

    #define PLUGIN "Block Command"
    #define AUTHOR "Drogocop"
    #define VERSION "1.1"

    public plugin_init()
    {
     register_plugin(PLUGIN, VERSION, AUTHOR)

     register_cvar("bc_blockbuy", "1"); // All buys Blocked
     register_cvar("bc_blockradio", "1"); // Block Radio commands
     register_cvar("bc_blockchooseteam", "1"); // Block Choose Team
     register_clcmd("bc_blockchat", "cmd_chatmute", -1, "<name>") // Muted Chat of a player.
    register_clcmd("bc_blockchatmenu", "menu_chatmute", -1, "chat mute menu") // Open Chat Mute Menu
     register_concmd("say", "say_handle")
     register_concmd("say_team", "say_handle")
     register_dictionary ( "blockcommand.txt" );
     
    //Block  All Buy and Buy Binds
     if (get_cvar_num("bc_blockbuy"))
     {
     register_clcmd("buy", "bblocked");
     register_clcmd("cl_autobuy", "bblocked");
     register_clcmd("cl_rebuy", "bblocked");
     register_clcmd("cl_setautobuy", "bblocked");
     register_clcmd("cl_setrebuy", "bblocked");
     
    register_clcmd("glock", "bblocked");
     register_clcmd("usp", "bblocked");
     register_clcmd("p228", "bblocked");
     register_clcmd("deagle", "bblocked");
     register_clcmd("elites", "bblocked");
     register_clcmd("fn57", "bblocked");
     
    register_clcmd("mp5", "bblocked");
     register_clcmd("smg", "bblocked");
     register_clcmd("mac10", "bblocked");
     register_clcmd("tmp", "bblocked");
     register_clcmd("ump45", "bblocked");
     register_clcmd("p90", "bblocked");
     
    register_clcmd("m3", "bblocked");
     register_clcmd("xm1014", "bblocked");
     
    register_clcmd("famas", "bblocked");
     register_clcmd("m4a1", "bblocked");
     register_clcmd("ak47", "bblocked");
     register_clcmd("sg552", "bblocked");
     register_clcmd("galil", "bblocked");
    register_clcmd("aug", "bblocked");
     
    register_clcmd("scout", "bblocked");
     register_clcmd("awp", "bblocked");
     register_clcmd("sg550", "bblocked");
     register_clcmd("g3sg1", "bblocked");
     
    register_clcmd("m249", "bblocked");
     
    register_clcmd("hegren", "bblocked");
     register_clcmd("flash", "bblocked");
     register_clcmd("sgren", "bblocked");
     register_clcmd("vest", "bblocked");
     register_clcmd("vesthelm", "bblocked");
     register_clcmd("shield", "bblocked");
     register_clcmd("buyammo1", "bblocked");
     register_clcmd("buyammo1", "bblocked");
     register_clcmd("buyequip", "bblocked");
     }
     
    //Block Radio Commands
     if (get_cvar_num("bc_blockradio"))
     {
     register_clcmd("radio1", "rblocked");
     register_clcmd("radio2", "rblocked");
     register_clcmd("radio3", "rblocked");
     register_clcmd("coverme", "rblocked")
     register_clcmd("takepoint", "rblocked")
     register_clcmd("holdpos", "rblocked")
     register_clcmd("regroup", "rblocked")
     register_clcmd("followme", "rblocked")
     register_clcmd("takingfire", "rblocked")
     register_clcmd("go", "rblocked")
     register_clcmd("fallback", "rblocked")
     register_clcmd("sticktog", "rblocked")
     register_clcmd("getinpos", "rblocked")
     register_clcmd("stormfront", "rblocked")
     register_clcmd("report", "rblocked")
     register_clcmd("roger", "rblocked")
     register_clcmd("enemyspot", "rblocked")
     register_clcmd("needbackup", "rblocked")
     register_clcmd("sectorclear", "rblocked")
     register_clcmd("inposition", "rblocked")
     register_clcmd("reportingin", "rblocked")
     register_clcmd("getout", "rblocked")
     register_clcmd("negative", "rblocked")
     register_clcmd("enemydown", "rblocked")
     }
     
    //Block Choose Team
     if (get_cvar_num("bc_blockchooseteam"))
     {
     register_clcmd("chooseteam", "ctblocked");
     }
     
    //Block retry
     if (get_cvar_num("bc_blockretry"))
     {
     register_clcmd("retry", "blockr");
     }
    }
    Obs: Ela compilou mas deixou de bloquear o menu/radio/etc.
    Quero deixar ela só pra bloquear o menu B de armas/bombas/etc, Grato !

    Plugin original com tudo dentro:
    http://www.mediafire.com/download/33n9zk3yudnw4d4/Block_Commands.rar
    avatar
    Convidado
    Convidado


    [Dúvida] - SMA Empty Re: [Dúvida] - SMA

    Mensagem por Convidado 7/11/2013, 11:51 am

    Peguei a sma editada que vc edito e arrumei .., ja que nao mexo mais com zm sempre estarei ajudando ..

    SMA

    Código:
    #include <amxmodx>
    #include <amxmisc>
    #include <fakemeta>
    #include <colorchat>

    #define PLUGIN "Block Command"
    #define AUTHOR "Drogocop"
    #define VERSION "1.1"

    public plugin_init()
    {
       register_plugin(PLUGIN, VERSION, AUTHOR)

       register_cvar("bc_blockbuy", "1"); // All buys Blocked
       register_cvar("bc_blockradio", "1"); // Block Radio commands
       register_cvar("bc_blockchooseteam", "1"); // Block Choose Team
       register_clcmd("bc_blockchat", "cmd_chatmute", -1, "<name>") // Muted Chat of a player. 
       register_clcmd("bc_blockchatmenu", "menu_chatmute", -1, "chat mute menu") // Open Chat Mute Menu
       register_concmd("say", "say_handle")
       register_concmd("say_team", "say_handle")
       register_dictionary ( "blockcommand.txt" );
     
    //Block  All Buy and Buy Binds
       if (get_cvar_num("bc_blockbuy"))
       {
       register_clcmd("buy", "bblocked");
       register_clcmd("cl_autobuy", "bblocked");
       register_clcmd("cl_rebuy", "bblocked");
       register_clcmd("cl_setautobuy", "bblocked");
       register_clcmd("cl_setrebuy", "bblocked");
     
       register_clcmd("glock", "bblocked");
       register_clcmd("usp", "bblocked");
       register_clcmd("p228", "bblocked");
       register_clcmd("deagle", "bblocked");
       register_clcmd("elites", "bblocked");
       register_clcmd("fn57", "bblocked");
     
       register_clcmd("mp5", "bblocked");
       register_clcmd("smg", "bblocked");
       register_clcmd("mac10", "bblocked");
       register_clcmd("tmp", "bblocked");
       register_clcmd("ump45", "bblocked");
       register_clcmd("p90", "bblocked");
     
       register_clcmd("m3", "bblocked");
       register_clcmd("xm1014", "bblocked");
     
       register_clcmd("famas", "bblocked");
       register_clcmd("m4a1", "bblocked");
       register_clcmd("ak47", "bblocked");
       register_clcmd("sg552", "bblocked");
       register_clcmd("galil", "bblocked"); 
       register_clcmd("aug", "bblocked");
     
       register_clcmd("scout", "bblocked");
       register_clcmd("awp", "bblocked");
       register_clcmd("sg550", "bblocked");
       register_clcmd("g3sg1", "bblocked");
     
       register_clcmd("m249", "bblocked");
     
       register_clcmd("hegren", "bblocked");
       register_clcmd("flash", "bblocked");
       register_clcmd("sgren", "bblocked");
       register_clcmd("vest", "bblocked");
       register_clcmd("vesthelm", "bblocked");
       register_clcmd("shield", "bblocked");
       register_clcmd("buyammo1", "bblocked");
       register_clcmd("buyammo1", "bblocked");
       register_clcmd("buyequip", "bblocked");
       }
     
    //Block Radio Commands
       if (get_cvar_num("bc_blockradio"))
       {
       register_clcmd("radio1", "rblocked");
       register_clcmd("radio2", "rblocked");
       register_clcmd("radio3", "rblocked");
       register_clcmd("coverme", "rblocked")
       register_clcmd("takepoint", "rblocked")
       register_clcmd("holdpos", "rblocked")
       register_clcmd("regroup", "rblocked")
       register_clcmd("followme", "rblocked")
       register_clcmd("takingfire", "rblocked")
       register_clcmd("go", "rblocked")
       register_clcmd("fallback", "rblocked")
       register_clcmd("sticktog", "rblocked")
       register_clcmd("getinpos", "rblocked")
       register_clcmd("stormfront", "rblocked")
       register_clcmd("report", "rblocked")
       register_clcmd("roger", "rblocked")
       register_clcmd("enemyspot", "rblocked")
       register_clcmd("needbackup", "rblocked")
       register_clcmd("sectorclear", "rblocked")
       register_clcmd("inposition", "rblocked")
       register_clcmd("reportingin", "rblocked")
       register_clcmd("getout", "rblocked")
       register_clcmd("negative", "rblocked")
       register_clcmd("enemydown", "rblocked")
       }
       
    //Block Choose Team
       if (get_cvar_num("bc_blockchooseteam"))
       {
       register_clcmd("chooseteam", "ctblocked");
       }
     
    //Block retry
       if (get_cvar_num("bc_blockretry"))
       {
       register_clcmd("retry", "blockr");
       }
    }
    Leozinho
    Leozinho
    Administrador


    Masculino Número de Mensagens : 2865
    Ammo Packs : 5412
    Honra : 75
    Data de inscrição : 20/11/2011

    [Dúvida] - SMA Empty Re: [Dúvida] - SMA

    Mensagem por Leozinho 7/11/2013, 5:35 pm

    Resolvido?
    0wnderless
    0wnderless
    Moderador
    Moderador


    Masculino Número de Mensagens : 579
    Love you Rafaella <3
    Ammo Packs : 4438
    Honra : 20
    Data de inscrição : 24/08/2013

    [Dúvida] - SMA Empty Re: [Dúvida] - SMA

    Mensagem por 0wnderless 7/11/2013, 6:06 pm

    Não funciona para bloquear ...
    0wnderless
    0wnderless
    Moderador
    Moderador


    Masculino Número de Mensagens : 579
    Love you Rafaella <3
    Ammo Packs : 4438
    Honra : 20
    Data de inscrição : 24/08/2013

    [Dúvida] - SMA Empty Re: [Dúvida] - SMA

    Mensagem por 0wnderless 8/11/2013, 2:07 am

    Gente, urgente desculpa pelo up ... Alguem sabe ?
    Biel-oGrande
    Biel-oGrande
    Humano


    Nick : Biel-oGrande
    Masculino Número de Mensagens : 302
    Ammo Packs : 4480
    Honra : -6
    Data de inscrição : 05/09/2012

    [Dúvida] - SMA Empty Re: [Dúvida] - SMA

    Mensagem por Biel-oGrande 8/11/2013, 2:43 am

    cara ali na 2º .SMA abra o Amxx Studios e aperte ( CTRL + a letra I ) depois compila :D
    0wnderless
    0wnderless
    Moderador
    Moderador


    Masculino Número de Mensagens : 579
    Love you Rafaella <3
    Ammo Packs : 4438
    Honra : 20
    Data de inscrição : 24/08/2013

    [Dúvida] - SMA Empty Re: [Dúvida] - SMA

    Mensagem por 0wnderless 8/11/2013, 8:18 am

    Até agora nada ...
    MtsLa!<3.L
    MtsLa!<3.L
    Moderador
    Moderador


    Nick : Estelionatario
    Masculino Número de Mensagens : 1237
    InfoBanker
    Ammo Packs : 4771
    Honra : 28
    Data de inscrição : 16/03/2013

    [Dúvida] - SMA Empty Re: [Dúvida] - SMA

    Mensagem por MtsLa!<3.L 8/11/2013, 9:16 pm

    So espera o Dias ou o Spixe entra no skype que eu vejo com eles se eles tem esse plugin ja editado se eles nao tiver eu peco pra eles editar pra voce , porque eu tentei aqui mais nao consegui n
    [D]etonado[R]
    [D]etonado[R]
    Humano


    Nick : [D]etonado[R]
    Masculino Número de Mensagens : 625
    Ammo Packs : 4244
    Honra : 20
    Data de inscrição : 17/10/2013

    [Dúvida] - SMA Empty Re: [Dúvida] - SMA

    Mensagem por [D]etonado[R] 9/11/2013, 12:43 am

    Ele me ensina um pouco soubre plugin ...
    MtsLa!<3.L
    MtsLa!<3.L
    Moderador
    Moderador


    Nick : Estelionatario
    Masculino Número de Mensagens : 1237
    InfoBanker
    Ammo Packs : 4771
    Honra : 28
    Data de inscrição : 16/03/2013

    [Dúvida] - SMA Empty Re: [Dúvida] - SMA

    Mensagem por MtsLa!<3.L 9/11/2013, 12:44 am

    Achei um aqui espero que sirva

    http://forums.alliedmods.net/showthread.php?t=102611
    0wnderless
    0wnderless
    Moderador
    Moderador


    Masculino Número de Mensagens : 579
    Love you Rafaella <3
    Ammo Packs : 4438
    Honra : 20
    Data de inscrição : 24/08/2013

    [Dúvida] - SMA Empty Re: [Dúvida] - SMA

    Mensagem por 0wnderless 10/11/2013, 3:19 am

    Nenhum funciona.
    [D]etonado[R]
    [D]etonado[R]
    Humano


    Nick : [D]etonado[R]
    Masculino Número de Mensagens : 625
    Ammo Packs : 4244
    Honra : 20
    Data de inscrição : 17/10/2013

    [Dúvida] - SMA Empty Re: [Dúvida] - SMA

    Mensagem por [D]etonado[R] 10/11/2013, 1:26 pm

    0wnderless escreveu:Nenhum funciona.
    Ei ownderless se você quer qui eles não compra pelo B. basta retirar os dinheiros pelo server.cfg
    Leozinho
    Leozinho
    Administrador


    Masculino Número de Mensagens : 2865
    Ammo Packs : 5412
    Honra : 75
    Data de inscrição : 20/11/2011

    [Dúvida] - SMA Empty Re: [Dúvida] - SMA

    Mensagem por Leozinho 10/11/2013, 1:46 pm

    Ta díficil.

    tenta remover essas linhas. Na segunda sma.

    register_concmd("say", "say_handle")
     register_concmd("say_team", "say_handle")
    fatal
    fatal
    Humano


    Nick : FaTaL
    Masculino Número de Mensagens : 5
    Ammo Packs : 4055
    Honra : 3
    Data de inscrição : 21/10/2013

    [Dúvida] - SMA Empty Re: [Dúvida] - SMA

    Mensagem por fatal 10/11/2013, 9:16 pm

    Máximo que pude fazer é tirar o buyzone = não tem como abrir o menu.
    Download da sma.
    Click Aqui

    Espero ter ajudado.
    Usei códigos da alliedmodders.


    Última edição por fatal em 11/11/2013, 12:13 pm, editado 1 vez(es)
    avatar
    Convidado
    Convidado


    [Dúvida] - SMA Empty Re: [Dúvida] - SMA

    Mensagem por Convidado 10/11/2013, 10:30 pm

    Pelo que entendi você quer bloquiar o menu B ?, se for isso tenta essa sma 

    SMA
    Código:

    /* Script generated by Pawn Studio */

    #include <amxmodx>
    #include <amxmisc>
    #include <fakemeta>
    #include <colorchat>

    #define PLUGIN "Block Command"
    #define AUTHOR "Drogocop"
    #define VERSION "1.1"

    public plugin_init()
    {
       register_plugin(PLUGIN, VERSION, AUTHOR)
       
       register_cvar("bc_blockbuy", "1"); // All buys Blocked
       register_cvar("bc_blockradio", "1"); // Block Radio commands
       register_cvar("bc_blockchooseteam", "1"); // Block Choose Team
       register_clcmd("bc_blockchat", "cmd_chatmute", -1, "<name>") // Muted Chat of a player.
       register_clcmd("bc_blockchatmenu", "menu_chatmute", -1, "chat mute menu") // Open Chat Mute Menu
       register_concmd("say", "say_handle")
       register_concmd("say_team", "say_handle")
       register_dictionary ( "blockcommand.txt" );
       
       //Block  All Buy and Buy Binds
       if (get_cvar_num("bc_blockbuy"))
       {
          register_clcmd("buy", "bblocked");
          register_clcmd("chooseteam", "bblocked");
          register_clcmd("chooseteam", "ctblocked");
          register_clcmd("cl_autobuy", "bblocked");
          register_clcmd("cl_rebuy", "bblocked");
          register_clcmd("cl_setautobuy", "bblocked");
          register_clcmd("cl_setrebuy", "bblocked");
          
          register_clcmd("glock", "bblocked");
          register_clcmd("usp", "bblocked");
          register_clcmd("p228", "bblocked");
          register_clcmd("deagle", "bblocked");
          register_clcmd("elites", "bblocked");
          register_clcmd("fn57", "bblocked");
          
          register_clcmd("mp5", "bblocked");
          register_clcmd("smg", "bblocked");
          register_clcmd("mac10", "bblocked");
          register_clcmd("tmp", "bblocked");
          register_clcmd("ump45", "bblocked");
          register_clcmd("p90", "bblocked");
          
          register_clcmd("m3", "bblocked");
          register_clcmd("xm1014", "bblocked");
          
          register_clcmd("famas", "bblocked");
          register_clcmd("m4a1", "bblocked");
          register_clcmd("ak47", "bblocked");
          register_clcmd("sg552", "bblocked");
          register_clcmd("galil", "bblocked");
          register_clcmd("aug", "bblocked");
          
          register_clcmd("scout", "bblocked");
          register_clcmd("awp", "bblocked");
          register_clcmd("sg550", "bblocked");
          register_clcmd("g3sg1", "bblocked");
          
          register_clcmd("m249", "bblocked");
          
          register_clcmd("hegren", "bblocked");
          register_clcmd("flash", "bblocked");
          register_clcmd("sgren", "bblocked");
          register_clcmd("vest", "bblocked");
          register_clcmd("vesthelm", "bblocked");
          register_clcmd("shield", "bblocked");
          register_clcmd("buyammo1", "bblocked");
          register_clcmd("buyammo1", "bblocked");
          register_clcmd("buyequip", "bblocked");
       }
       
       //Block Radio Commands
       if (get_cvar_num("bc_blockradio"))
       {
          register_clcmd("radio1", "rblocked");
          register_clcmd("radio2", "rblocked");
          register_clcmd("radio3", "rblocked");
          register_clcmd("coverme", "rblocked")
          register_clcmd("takepoint", "rblocked")
          register_clcmd("holdpos", "rblocked")
          register_clcmd("regroup", "rblocked")
          register_clcmd("followme", "rblocked")
          register_clcmd("takingfire", "rblocked")
          register_clcmd("go", "rblocked")
          register_clcmd("fallback", "rblocked")
          register_clcmd("sticktog", "rblocked")
          register_clcmd("getinpos", "rblocked")
          register_clcmd("stormfront", "rblocked")
          register_clcmd("report", "rblocked")
          register_clcmd("roger", "rblocked")
          register_clcmd("enemyspot", "rblocked")
          register_clcmd("needbackup", "rblocked")
          register_clcmd("sectorclear", "rblocked")
          register_clcmd("inposition", "rblocked")
          register_clcmd("reportingin", "rblocked")
          register_clcmd("getout", "rblocked")
          register_clcmd("negative", "rblocked")
          register_clcmd("enemydown", "rblocked")
       }
       
       //Block Choose Team
       if (get_cvar_num("bc_blockchooseteam"))
       {
          register_clcmd("chooseteam", "ctblocked");
       }
       
       //Block retry
       if (get_cvar_num("bc_blockretry"))
       {
          register_clcmd("retry", "blockr");
       }
    }
    @Edit causo essa ai nao funfe teste essa

    SMA
    Código:
    #include <amxmodx>

    #define PLUGIN  "Block Chooseteam"
    #define AUTHOR  "Alucard"
    #define VERSION "0.0.1"

    new p_BlockChooseTeam

    public plugin_init()
    {
        register_plugin(PLUGIN, VERSION, AUTHOR);
        
        p_BlockChooseTeam = register_cvar("bc_enable", "1");
        
        register_clcmd("chooseteam", "HookCmdChooseTeam");
    }

    public HookCmdChooseTeam(iClient)
    {
        return get_pcvar_num(p_BlockChooseTeam) ? PLUGIN_HANDLED : PLUGIN_CONTINUE;
    }
    Biel-oGrande
    Biel-oGrande
    Humano


    Nick : Biel-oGrande
    Masculino Número de Mensagens : 302
    Ammo Packs : 4480
    Honra : -6
    Data de inscrição : 05/09/2012

    [Dúvida] - SMA Empty Re: [Dúvida] - SMA

    Mensagem por Biel-oGrande 10/11/2013, 10:44 pm

    Código:
    #include <amxmodx> 
    #include <fakemeta> 

    public plugin_cfg()  
    {  
        register_message(get_user_msgid("StatusIcon"), "Message_StatusIcon"); 


    public Message_StatusIcon(iMsgId, iMsgDest, id)  
    {  
        static szIcon[8];  
        get_msg_arg_string(2, szIcon, charsmax(szIcon));  
        if( equal(szIcon, "buyzone") ) 
        {  
            if( get_msg_arg_int(1) )  
            {  
                set_pdata_int(id, 235, get_pdata_int(id, 235) & ~(1<<0)); 
                return PLUGIN_HANDLED;  
            }  
        }  
          
        return PLUGIN_CONTINUE;  
    -
    -
    -
    Código:
    #include <  amxmodx >
    #include <  engine >

    const FM_NULLENT = -1;

    public plugin_init( ) {
        register_plugin( "BuyZone Remover", "1.0", "xPaw" );
       
        new iEntity = FM_NULLENT;
        while( ( iEntity = find_ent_by_class( iEntity, "func_buyzone" ) ) > 0 )
            if( entity_get_int( iEntity, EV_INT_iuser1 ) != 1337 )
                remove_entity( iEntity );
    }

    public plugin_precache( ) {
        new iEntity = create_entity( "func_buyzone" );
       
        if( iEntity ) {
            entity_set_size( iEntity, Float:{ -4096.0, -4096.0, -4096.0 }, Float:{ -4095.0, -4095.0, -4095.0 } );
            entity_set_int( iEntity, EV_INT_iuser1, 1337 );
        }
    }
    -
    -
    -
    Código:
    #include <amxmodx> 
    #include <fakemeta> 

    #define VERSION "0.0.1" 
    #define PLUGIN "No Buy" 

    public plugin_init() 

        register_plugin(PLUGIN, VERSION, "ConnorMcLeod") 

        register_clcmd("buy", "ClientCommand_Buy") 
        register_clcmd("bUy", "ClientCommand_Buy") 
        register_clcmd("buY", "ClientCommand_Buy") 
        register_clcmd("bUY", "ClientCommand_Buy") 
        register_clcmd("Buy", "ClientCommand_Buy") 
        register_clcmd("BUy", "ClientCommand_Buy") 
        register_clcmd("BuY", "ClientCommand_Buy") 
        register_clcmd("BUY", "ClientCommand_Buy") 
        server_cmd("sv_restartround 1") 


    public plugin_precache() 

        #define CMapInfo_Linux_XOff    5 
        #define m_iBuyingStatus 34 
        new iEnt = engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString,"info_map_parameters")) 
        set_pdata_int(iEnt, m_iBuyingStatus, 3, CMapInfo_Linux_XOff) // case 3: ALERT( at_console, "No one can buy!!\n" ); // http://code.google.com/p/cs-sdk/source/browse/trunk/multiplay_gamerules.cpp     
        dllfunc(DLLFunc_Spawn, iEnt) 


    public ClientCommand_Buy( /* id */ ) 

        return PLUGIN_HANDLED_MAIN 
    }  
    -
    -
    -
    Código:
    #include <amxmodx>

    new const gBuyCommands[ ][ ] = 

            "usp", "glock", "deagle", "p228", "elites", 
            "fn57", "m3", "xm1014", "mp5", "tmp", "p90", 
            "mac10", "ump45", "ak47", "galil", "famas", 
            "sg552", "m4a1", "aug", "scout", "awp", "g3sg1", 
            "sg550", "m249", "vest", "vesthelm", "flash", 
            "hegren", "sgren", "defuser", "nvgs", "shield", 
            "primammo", "secammo", "km45", "9x19mm", "nighthawk", 
            "228compact", "fiveseven", "12gauge", "autoshotgun", 
            "mp", "c90", "cv47", "defender", "clarion", "krieg552", 
            "bullpup", "magnum", "d3au1", "krieg550",  
            "buy", "buyammo1", "buyammo2", "buyequip", "cl_autobuy", 
            "cl_rebuy", "cl_setautobuy", "cl_setrebuy" 

    public plugin_init()  
    {  
        register_plugin("Block Buy Example", "0.1.0", "Xvil")  

        for (new i; i < sizeof gBuyCommands; i++)  
            register_clcmd(gBuyCommands[i], "BlockBuyCommands")  
    }  

    public BlockBuyCommands(id)  

        // Block the buy commands.  
      return PLUGIN_HANDLED;  
    }
    tenta algum ae
    avatar
    Convidado
    Convidado


    [Dúvida] - SMA Empty Re: [Dúvida] - SMA

    Mensagem por Convidado 11/11/2013, 12:39 am

    Zplague9

    Conteúdo patrocinado


    [Dúvida] - SMA Empty Re: [Dúvida] - SMA

    Mensagem por Conteúdo patrocinado


      Data/hora atual: 23/11/2024, 2:09 am