[Plugin] Hunter [100%] Sem Bugs 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 [Dk]Serial-Killer Ontem à(s) 12:46 am

» 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

Frases filosóficas Zplague:

....

Google Adsense

Estatísticas

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

Temos 2796 usuários registrados

O último membro registrado é zmplugins - Henrique


3 participantes

    [Plugin] Hunter [100%] Sem Bugs

    Dexter
    Dexter
    Humano


    Nick : Dexter
    Masculino Número de Mensagens : 913
    '-'
    Ammo Packs : 3681
    Honra : -3
    Data de inscrição : 28/04/2013

    [Plugin] Hunter [100%] Sem Bugs Empty [Plugin] Hunter [100%] Sem Bugs

    Mensagem por Dexter 10/12/2013, 10:10 pm

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

    native zp_get_user_berserker(id)

    new const zclass_name[] = "Zombie Hunter"
    new const zclass_info[] = "[Super Pulo CTRL + E] "
    new const zclass_model[] = "class_hunter"
    new const zclass_clawmodel[] = "v_knife_zombie_hunter.mdl"

    const zclass_health = 2800
    const zclass_speed = 290
    const Float:zclass_gravity = 1.0
    const Float:zclass_knockback = 1.0

    new const leap_sound[4][] = { "left_4_dead2/hunter_jump.wav", "left_4_dead2/hunter_jump1.wav", "left_4_dead2/hunter_jump2.wav", "left_4_dead2/hunter_jump3.wav" }

    new g_hunter

    new Float:g_lastleaptime[33]

    new cvar_force, cvar_cooldown

    #define PLUG_VERSION "0.2"
    #define PLUG_AUTHOR "DJHD!"

    public plugin_precache()
    {
      g_hunter = zp_register_zombie_class(zclass_name, zclass_info, zclass_model, zclass_clawmodel, zclass_health, zclass_speed, zclass_gravity, zclass_knockback)
     
      static i
      for(i = 0; i < sizeof leap_sound; i++)
          precache_sound(leap_sound[i])
    }

    public plugin_init()
    {
      register_plugin("[ZP] Zombie Class: Hunter L4D2 Zombie", PLUG_VERSION, PLUG_AUTHOR)
     
      register_forward(FM_PlayerPreThink, "fw_PlayerPreThink")
     
      cvar_force = register_cvar("zp_hunter_jump_force", "900")
      cvar_cooldown = register_cvar("zp_hunter_jump_cooldown", "8.0")
     
      static szCvar[30]
      formatex(szCvar, charsmax(szCvar), "v%s by %s", PLUG_VERSION, PLUG_AUTHOR)
      register_cvar("zp_zclass_hunterl4d2", szCvar, FCVAR_SERVER|FCVAR_SPONLY)
    }

    public zp_user_infected_post(id, infector)
    {
      if(zp_get_user_zombie_class(id) == g_hunter)
      {
          if(zp_get_user_nemesis(id))
            return
     
          if(zp_get_user_berserker(id))
      return
     
          if(zp_get_user_sniper(id))
      return
     
          if(zp_get_user_assassin(id))
      return
     
          if(zp_get_user_survivor(id))
      return

          if(!zp_get_user_zombie(id))      // Para Nao Bugar A Classe Quando Estiver de Humano
            return
         
          client_printcolor(id, "/g[ZP]/y Para Usar o Poder do Super Pulo Pressione /g-/t ^"CTRL + E^"")
      }
    }

    public fw_PlayerPreThink(id)
    {
          if(!is_user_alive(id))
            return
         
          if(zp_get_user_nemesis(id))
            return
     
          if(zp_get_user_berserker(id))
      return
     
          if(zp_get_user_sniper(id))
      return
     
          if(zp_get_user_assassin(id))
      return
     
          if(zp_get_user_survivor(id))
      return
         
          if(!zp_get_user_zombie(id))      // Para Nao Bugar A Classe Quando Estiver de Humano
            return
     
          if(is_user_connected(id))
      {
          if (allowed_hunterjump(id))
          {
            static Float:velocity[3]
            velocity_by_aim(id, get_pcvar_num(cvar_force), velocity)
            set_pev(id, pev_velocity, velocity)
           
            emit_sound(id, CHAN_STREAM, leap_sound[random_num(0, sizeof leap_sound -1)], 1.0, ATTN_NORM, 0, PITCH_HIGH)
           
            g_lastleaptime[id] = get_gametime()
     
          }
      }
    }

    allowed_hunterjump(id)
    {   
      if (!zp_get_user_zombie(id) && zp_get_user_nemesis(id) && zp_get_user_assassin(id) && zp_get_user_sniper(id) && zp_get_user_berserker(id) && zp_get_user_survivor(id))
          return false
     
      if (zp_get_user_zombie_class(id) != g_hunter)
          return false
     
      if (!((pev(id, pev_flags) & FL_ONGROUND) && (pev(id, pev_flags) & FL_DUCKING)))
          return false
     
      static buttons
      buttons = pev(id, pev_button)
     
      if (!(buttons & IN_USE) && !is_user_bot(id))
          return false
     
      static Float:cooldown
      cooldown = get_pcvar_float(cvar_cooldown)
     
      if (get_gametime() - g_lastleaptime[id] < cooldown)
          return false 
      return true
    }

    stock client_printcolor(const id, const input[], any:...)
    {
      new count = 1, players[32]
      static msg[191]
      vformat(msg, 190, input, 3)
     
      replace_all(msg, 190, "/g", "^4")
      replace_all(msg, 190, "/y", "^1")
      replace_all(msg, 190, "/t", "^3")
     
      if (id) players[0] = id; else get_players(players, count, "ch")
      {
          for (new i = 0; i < count; i++)
          {
            if (is_user_connected(players[i]))
            {
                message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i])
                write_byte(players[i]);
                write_string(msg);
                message_end();
            }
          }
      }
    }

    Não Ira Buga Apenas
    Humano,Berserker,Sniper,Assassin,Nemesis e Survivor


    Última edição por Dexter em 11/12/2013, 5:27 pm, editado 2 vez(es)
    [D]etonado[R]
    [D]etonado[R]
    Humano


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

    [Plugin] Hunter [100%] Sem Bugs Empty Re: [Plugin] Hunter [100%] Sem Bugs

    Mensagem por [D]etonado[R] 10/12/2013, 10:39 pm

    Testa :D

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

    #define PLUG_VERSION "0.2"
    #define PLUG_AUTHOR "DJHD! | Dexter"

    native zp_get_user_human(id)

    new const zclass_name[] = "Hunter"
    new const zclass_info[] = "Super Pulo 'CTRL+E'"
    new const zclass_model[] = "class_hunter"
    new const zclass_clawmodel[] = "v_knife_zombie_hunter.mdl"

    const zclass_health = 710
    const zclass_speed = 290

    const Float:zclass_gravity = 0.6
    const Float:zclass_knockback = 1.0

    new const leap_sound[4][] = { "left_4_dead2/hunter_jump.wav", "left_4_dead2/hunter_jump1.wav", "left_4_dead2/hunter_jump2.wav", "left_4_dead2/hunter_jump3.wav" }

    new g_hunter

    new Float:g_lastleaptime[33]

    new cvar_force, cvar_cooldown

    public plugin_precache()
    {
      g_hunter = zp_register_zombie_class(zclass_name, zclass_info, zclass_model, zclass_clawmodel, zclass_health, zclass_speed, zclass_gravity, zclass_knockback)
     
      static i
      for(i = 0; i < sizeof leap_sound; i++)
          precache_sound(leap_sound[i])
    }

    public plugin_init()
    {
      register_plugin("[ZP] Zombie Class: Hunter L4D2 Zombie", PLUG_VERSION, PLUG_AUTHOR)
     
      register_forward(FM_PlayerPreThink, "fw_PlayerPreThink")

      cvar_force = register_cvar("zp_hunter_jump_force", "900")
      cvar_cooldown = register_cvar("zp_hunter_jump_cooldown", "20.0")
     
      static szCvar[30]
      formatex(szCvar, charsmax(szCvar), "v%s by %s", PLUG_VERSION, PLUG_AUTHOR)
      register_cvar("zp_zclass_hunterl4d2", szCvar, FCVAR_SERVER|FCVAR_SPONLY)
    }

    public zp_user_infected_post(id, infector)
    {
      if(zp_get_user_zombie_class(id) == g_hunter)
      {
          if(zp_get_user_nemesis(id) || zp_get_user_assassin(id) || zp_get_user_berserker(id) || zp_get_user_sniper(id) || zp_get_user_human(id))
            return
         
          client_print(id, print_chat, "[ZP] Aperte 'CTRL+E' para dar um super pulo")
      }
    }

    public fw_PlayerPreThink(id)
    {
      if(!is_user_alive(id))
          return
         
      if(zp_get_user_nemesis(id) || zp_get_user_assassin(id) || zp_get_user_berserker(id) || zp_get_user_sniper(id) || zp_get_user_human(id))
          return
         
      if(is_user_connected(id))
      {
          if (allowed_hunterjump(id))
          {
            static Float:velocity[3]
            velocity_by_aim(id, get_pcvar_num(cvar_force), velocity)
            set_pev(id, pev_velocity, velocity)
           
            emit_sound(id, CHAN_STREAM, leap_sound[random_num(0, sizeof leap_sound -1)], 1.0, ATTN_NORM, 0, PITCH_HIGH)
           
            g_lastleaptime[id] = get_gametime()
          }
      }
    }

    allowed_hunterjump(id)
    {   
      if(!zp_get_user_zombie(id) || zp_get_user_nemesis(id) || zp_get_user_assassin(id) || zp_get_user_berserker(id) || zp_get_user_sniper(id) || zp_get_user_human(id))
          return false
     
      if(zp_get_user_zombie_class(id) != g_hunter)
          return false
     
      if(!((pev(id, pev_flags) & FL_ONGROUND) && (pev(id, pev_flags) & FL_DUCKING)))
          return false
     
      static buttons
      buttons = pev(id, pev_button)
     
      if (!(buttons & IN_USE) && !is_user_bot(id))
          return false
     
      static Float:cooldown
      cooldown = get_pcvar_float(cvar_cooldown)
     
      if (get_gametime() - g_lastleaptime[id] < cooldown)
          return false
     
      return true
    }
    /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
    *{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1049\\ f0\\ fs16 \n\\ par }
    */
    Dexter
    Dexter
    Humano


    Nick : Dexter
    Masculino Número de Mensagens : 913
    '-'
    Ammo Packs : 3681
    Honra : -3
    Data de inscrição : 28/04/2013

    [Plugin] Hunter [100%] Sem Bugs Empty Re: [Plugin] Hunter [100%] Sem Bugs

    Mensagem por Dexter 10/12/2013, 10:48 pm

    eu ja testei dessa forma 
    com
    zp_get_user_human(id) ira buga
    [D]etonado[R]
    [D]etonado[R]
    Humano


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

    [Plugin] Hunter [100%] Sem Bugs Empty Re: [Plugin] Hunter [100%] Sem Bugs

    Mensagem por [D]etonado[R] 10/12/2013, 10:56 pm

    Teste assim:

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

    #define PLUG_VERSION "0.2"
    #define PLUG_AUTHOR "DJHD! | Dexter"

    native zp_get_user_human(id)

    new const zclass_name[] = "Hunter"
    new const zclass_info[] = "Super Pulo 'CTRL+E'"
    new const zclass_model[] = "class_hunter"
    new const zclass_clawmodel[] = "v_knife_zombie_hunter.mdl"

    const zclass_health = 710
    const zclass_speed = 290

    const Float:zclass_gravity = 0.6
    const Float:zclass_knockback = 1.0

    new const leap_sound[4][] = { "left_4_dead2/hunter_jump.wav", "left_4_dead2/hunter_jump1.wav", "left_4_dead2/hunter_jump2.wav", "left_4_dead2/hunter_jump3.wav" }

    new g_hunter

    new Float:g_lastleaptime[33]

    new cvar_force, cvar_cooldown

    public plugin_precache()
    {
      g_hunter = zp_register_zombie_class(zclass_name, zclass_info, zclass_model, zclass_clawmodel, zclass_health, zclass_speed, zclass_gravity, zclass_knockback)
     
      static i
      for(i = 0; i < sizeof leap_sound; i++)
          precache_sound(leap_sound[i])
    }

    public plugin_init()
    {
      register_plugin("[ZP] Zombie Class: Hunter L4D2 Zombie", PLUG_VERSION, PLUG_AUTHOR)
     
      register_forward(FM_PlayerPreThink, "fw_PlayerPreThink")

      cvar_force = register_cvar("zp_hunter_jump_force", "900")
      cvar_cooldown = register_cvar("zp_hunter_jump_cooldown", "20.0")
     
      static szCvar[30]
      formatex(szCvar, charsmax(szCvar), "v%s by %s", PLUG_VERSION, PLUG_AUTHOR)
      register_cvar("zp_zclass_hunterl4d2", szCvar, FCVAR_SERVER|FCVAR_SPONLY)
    }

    public zp_user_infected_post(id, infector)
    {
      if(zp_get_user_zombie_class(id) == g_hunter)
      {
          if(zp_get_user_nemesis(id) || zp_get_user_assassin(id) || zp_get_user_berserker(id) || zp_get_user_sniper(id) || zp_get_user_human(id))
            return
         
          client_print(id, print_chat, "[ZP] Aperte 'CTRL+E' para dar um super pulo")
      }
    }

    public fw_PlayerPreThink(id)
    {
      if(!is_user_alive(id))
          return
         
      if(zp_get_user_nemesis(id) || zp_get_user_assassin(id) || zp_get_user_berserker(id) || zp_get_user_sniper(id) || zp_get_user_human(id))
          return


      if(zp_get_user_human(id))
      {
          return;
    }
         
      if(is_user_connected(id))
      {
          if (allowed_hunterjump(id))
          {
            static Float:velocity[3]
            velocity_by_aim(id, get_pcvar_num(cvar_force), velocity)
            set_pev(id, pev_velocity, velocity)
           
            emit_sound(id, CHAN_STREAM, leap_sound[random_num(0, sizeof leap_sound -1)], 1.0, ATTN_NORM, 0, PITCH_HIGH)
           
            g_lastleaptime[id] = get_gametime()
          }
      }
    }

    allowed_hunterjump(id)
    {   
      if(!zp_get_user_zombie(id) || zp_get_user_nemesis(id) || zp_get_user_assassin(id) || zp_get_user_berserker(id) || zp_get_user_sniper(id) || zp_get_user_human(id))
          return false
     
      if(zp_get_user_zombie_class(id) != g_hunter)
          return false
     
      if(!((pev(id, pev_flags) & FL_ONGROUND) && (pev(id, pev_flags) & FL_DUCKING)))
          return false
     
      static buttons
      buttons = pev(id, pev_button)
     
      if (!(buttons & IN_USE) && !is_user_bot(id))
          return false
     
      static Float:cooldown
      cooldown = get_pcvar_float(cvar_cooldown)
     
      if (get_gametime() - g_lastleaptime[id] < cooldown)
          return false
     
      return true
    }
    /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
    *{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1049\\ f0\\ fs16 \n\\ par }
    */
    Dexter
    Dexter
    Humano


    Nick : Dexter
    Masculino Número de Mensagens : 913
    '-'
    Ammo Packs : 3681
    Honra : -3
    Data de inscrição : 28/04/2013

    [Plugin] Hunter [100%] Sem Bugs Empty Re: [Plugin] Hunter [100%] Sem Bugs

    Mensagem por Dexter 10/12/2013, 11:38 pm

    n foi
    cabelozl
    cabelozl
    Humano


    Masculino Número de Mensagens : 44
    Ammo Packs : 4079
    Honra : 3
    Data de inscrição : 30/09/2013

    [Plugin] Hunter [100%] Sem Bugs Empty Re: [Plugin] Hunter [100%] Sem Bugs

    Mensagem por cabelozl 11/12/2013, 12:00 am

    Dexter escreveu:
    Código:
    #include <amxmodx>
    #include <fakemeta>
    #include <zombie_plague_advance>

    #define PLUG_VERSION "0.2"
    #define PLUG_AUTHOR "DJHD! | Dexter"

    native zp_get_user_berserker(id)

    new const zclass_name[] = "Hunter"
    new const zclass_info[] = "Super Pulo 'CTRL+E'"
    new const zclass_model[] = "class_hunter"
    new const zclass_clawmodel[] = "v_knife_zombie_hunter.mdl"

    const zclass_health = 710
    const zclass_speed = 290

    const Float:zclass_gravity = 0.6
    const Float:zclass_knockback = 1.0

    new const leap_sound[4][] = { "left_4_dead2/hunter_jump.wav", "left_4_dead2/hunter_jump1.wav", "left_4_dead2/hunter_jump2.wav", "left_4_dead2/hunter_jump3.wav" }

    new g_hunter

    new Float:g_lastleaptime[33]

    new cvar_force, cvar_cooldown

    public plugin_precache()
    {
       g_hunter = zp_register_zombie_class(zclass_name, zclass_info, zclass_model, zclass_clawmodel, zclass_health, zclass_speed, zclass_gravity, zclass_knockback)
       
       static i
       for(i = 0; i < sizeof leap_sound; i++)
          precache_sound(leap_sound[i])
    }

    public plugin_init()
    {
       register_plugin("[ZP] Zombie Class: Hunter L4D2 Zombie", PLUG_VERSION, PLUG_AUTHOR)
       
       register_forward(FM_PlayerPreThink, "fw_PlayerPreThink")

       cvar_force = register_cvar("zp_hunter_jump_force", "900")
       cvar_cooldown = register_cvar("zp_hunter_jump_cooldown", "20.0")
       
       static szCvar[30]
       formatex(szCvar, charsmax(szCvar), "v%s by %s", PLUG_VERSION, PLUG_AUTHOR)
       register_cvar("zp_zclass_hunterl4d2", szCvar, FCVAR_SERVER|FCVAR_SPONLY)
    }

    public zp_user_infected_post(id, infector)
    {
       if(zp_get_user_zombie_class(id) == g_hunter)
       {
          if(zp_get_user_nemesis(id) || zp_get_user_assassin(id) || zp_get_user_berserker(id) || zp_get_user_sniper(id))
             return
          
          client_print(id, print_chat, "[ZP] Aperte 'CTRL+E' para dar um super pulo")
       }
    }

    public fw_PlayerPreThink(id)
    {
       if(!is_user_alive(id))
          return
          
       if(zp_get_user_nemesis(id) || zp_get_user_assassin(id) || zp_get_user_berserker(id) || zp_get_user_sniper(id))
          return
          
       if(is_user_connected(id))
       {
          if (allowed_hunterjump(id))
          {
             static Float:velocity[3]
             velocity_by_aim(id, get_pcvar_num(cvar_force), velocity)
             set_pev(id, pev_velocity, velocity)
             
             emit_sound(id, CHAN_STREAM, leap_sound[random_num(0, sizeof leap_sound -1)], 1.0, ATTN_NORM, 0, PITCH_HIGH)
             
             g_lastleaptime[id] = get_gametime()
          }
       }
    }

    allowed_hunterjump(id)
    {    
       if (!zp_get_user_zombie(id) || zp_get_user_nemesis(id) || zp_get_user_assassin(id) || zp_get_user_berserker(id) || zp_get_user_sniper(id))
          return false
       
       if (zp_get_user_zombie_class(id) != g_hunter)
          return false
       
       if (!((pev(id, pev_flags) & FL_ONGROUND) && (pev(id, pev_flags) & FL_DUCKING)))
          return false
       
       static buttons
       buttons = pev(id, pev_button)
       
       if (!(buttons & IN_USE) && !is_user_bot(id))
          return false
       
       static Float:cooldown
       cooldown = get_pcvar_float(cvar_cooldown)
       
       if (get_gametime() - g_lastleaptime[id] < cooldown)
          return false
       
       return true
    }

    esse Hunter não ira buga o nemesis | assassino | berserker | sniper
    simplesmente eu ponho pra não buga o humanos mas simplesmente some das classe de zm
    se alguem por pra não buga o humano faz ai ;)

    testa

    SMA

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

    #define PLUG_VERSION "0.2"
    #define PLUG_AUTHOR "DJHD! | Dexter"

    native zp_get_user_berserker(id)
       
    new const zclass_name[] = "Hunter"
    new const zclass_info[] = "Super Pulo 'CTRL+E'"
    new const zclass_model[] = "class_hunter"
    new const zclass_clawmodel[] = "v_knife_zombie_hunter.mdl"

    const zclass_health = 710
    const zclass_speed = 290

    const Float:zclass_gravity = 0.6
    const Float:zclass_knockback = 1.0

    new const leap_sound[4][] = { "left_4_dead2/hunter_jump.wav", "left_4_dead2/hunter_jump1.wav", "left_4_dead2/hunter_jump2.wav", "left_4_dead2/hunter_jump3.wav" }

    new g_hunter

    new Float:g_lastleaptime[33]

    new cvar_force, cvar_cooldown

    public plugin_precache()
    {
       g_hunter = zp_register_zombie_class(zclass_name, zclass_info, zclass_model, zclass_clawmodel, zclass_health, zclass_speed, zclass_gravity, zclass_knockback)
       
       static i
       for(i = 0; i < sizeof leap_sound; i++)
          precache_sound(leap_sound[i])
    }

    public plugin_init() 
    {
       register_plugin("[ZP] Zombie Class: Hunter L4D2 Zombie", PLUG_VERSION, PLUG_AUTHOR)
       
       register_forward(FM_PlayerPreThink, "fw_PlayerPreThink") 
       
       cvar_force = register_cvar("zp_hunter_jump_force", "900") 
       cvar_cooldown = register_cvar("zp_hunter_jump_cooldown", "20.0")
       
       static szCvar[30]
       formatex(szCvar, charsmax(szCvar), "v%s by %s", PLUG_VERSION, PLUG_AUTHOR)
       register_cvar("zp_zclass_hunterl4d2", szCvar, FCVAR_SERVER|FCVAR_SPONLY)
    }

    public zp_user_infected_post(id, infector)
    {
       if(zp_get_user_zombie_class(id) == g_hunter)
       {
          if(!is_user_alive(id))
             return
          
          if(zp_get_user_nemesis(id))
             return
          
          if(!zp_get_user_zombie(id))      
             return
          
          client_print(id, print_chat, "[ZP] Aperte 'CTRL+E' para dar um super pulo")
       }
    }

    public fw_PlayerPreThink(id)
    {
       if(is_user_connected(id))
       {
          if (allowed_hunterjump(id))
          {
             static Float:velocity[3]
             velocity_by_aim(id, get_pcvar_num(cvar_force), velocity)
             set_pev(id, pev_velocity, velocity)
             
             emit_sound(id, CHAN_STREAM, leap_sound[random_num(0, sizeof leap_sound -1)], 1.0, ATTN_NORM, 0, PITCH_HIGH)
             
             g_lastleaptime[id] = get_gametime()
          }
       }
    }

    allowed_hunterjump(id)
    {    
          if (zp_get_user_zombie_class(id) != g_hunter)
          return false
       
          if (!((pev(id, pev_flags) & FL_ONGROUND) && (pev(id, pev_flags) & FL_DUCKING)))
          return false
       
          static buttons
          buttons = pev(id, pev_button)
       
          if (!(buttons & IN_USE) && !is_user_bot(id))
          return false
       
          static Float:cooldown
          cooldown = get_pcvar_float(cvar_cooldown)
       
          if (get_gametime() - g_lastleaptime[id] < cooldown)
          return false
       
          return true
    }
    Dexter
    Dexter
    Humano


    Nick : Dexter
    Masculino Número de Mensagens : 913
    '-'
    Ammo Packs : 3681
    Honra : -3
    Data de inscrição : 28/04/2013

    [Plugin] Hunter [100%] Sem Bugs Empty Re: [Plugin] Hunter [100%] Sem Bugs

    Mensagem por Dexter 11/12/2013, 12:12 am

    ainda ta bugando
    [D]etonado[R]
    [D]etonado[R]
    Humano


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

    [Plugin] Hunter [100%] Sem Bugs Empty Re: [Plugin] Hunter [100%] Sem Bugs

    Mensagem por [D]etonado[R] 11/12/2013, 1:03 am

    Testa esse da allied Clique aqui
    Dexter
    Dexter
    Humano


    Nick : Dexter
    Masculino Número de Mensagens : 913
    '-'
    Ammo Packs : 3681
    Honra : -3
    Data de inscrição : 28/04/2013

    [Plugin] Hunter [100%] Sem Bugs Empty Re: [Plugin] Hunter [100%] Sem Bugs

    Mensagem por Dexter 11/12/2013, 5:22 pm

    Pronto Bug Arrumado
    Confira La Em Cima

    Conteúdo patrocinado


    [Plugin] Hunter [100%] Sem Bugs Empty Re: [Plugin] Hunter [100%] Sem Bugs

    Mensagem por Conteúdo patrocinado


      Data/hora atual: 26/11/2024, 10:49 pm