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

Zplague Entrar

Seu portal de Zombie Plague no Brasil


description[ZP50] Human Classes Empty[ZP50] Human Classes

more_horiz
 Human Pounder - Muito HP(Definido por cvar)

Código:

#include <amxmodx>
#include <  fun >
#include <zp50_class_human>
#include <zp50_core>
#include <zp50_colorchat>

// Raptor Human Attributes
new const humanclass2_name[] = "Pounder Human"
new const humanclass2_info[] = "Haves more health"
new const humanclass2_models[][] = { "terror" }
const humanclass2_health = 300
const Float:humanclass2_speed = 0.8
const Float:humanclass2_gravity = 1.3

new g_HumanClassID, cvar_armor

public plugin_precache()
{
   register_plugin("[ZP] Class: Human: Pounder", ZP_VERSION_STRING, "ZP Dev Team")
   
   g_HumanClassID = zp_class_human_register(humanclass2_name, humanclass2_info, humanclass2_health, humanclass2_speed, humanclass2_gravity)
   new index
   for (index = 0; index < sizeof humanclass2_models; index++)
      zp_class_human_register_model(g_HumanClassID, humanclass2_models[index])
      
   cvar_armor = register_cvar("zp_class_human_pounder", "300")
}

public zp_fw_core_spawn_post(id)
{
   if (zp_class_human_get_current(id) == g_HumanClassID)
   {
      zp_colored_print(id, "You are using^x04Pounder hclass^x01, you now have^x04%s^x01 gravity.", get_pcvar_num(cvar_armor))
      set_user_health(id, get_pcvar_num(cvar_armor))
   }
}

/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/

Human Armorer - 200 de Colete(Definido por cvar)

Código:

#include <amxmodx>
#include <  fun >
#include <zp50_class_human>
#include <zp50_core>
#include <zp50_colorchat>

// Raptor Human Attributes
new const humanclass2_name[] = "Armorer Human"
new const humanclass2_info[] = "Gets armor"
new const humanclass2_models[][] = { "terror" }
const humanclass2_health = 100
const Float:humanclass2_speed = 1.1
const Float:humanclass2_gravity = 1.0

new g_HumanClassID, cvar_armor

public plugin_precache()
{
   register_plugin("[ZP] Class: Human: Pounder", ZP_VERSION_STRING, "ZP Dev Team")
   
   g_HumanClassID = zp_class_human_register(humanclass2_name, humanclass2_info, humanclass2_health, humanclass2_speed, humanclass2_gravity)
   new index
   for (index = 0; index < sizeof humanclass2_models; index++)
      zp_class_human_register_model(g_HumanClassID, humanclass2_models[index])
      
   cvar_armor = register_cvar("zp_class_human_armorer", "200")
}

public zp_fw_core_spawn_post(id)
{
   if (zp_class_human_get_current(id) == g_HumanClassID)
   {
      zp_colored_print(id, "You are using^x04Armorer hclass^x01, you now have^x04%s^x01 armor.", get_pcvar_num(cvar_armor))
      set_user_armor(id, get_pcvar_num(cvar_armor))
   }
}

/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/

Human Jumper - Baixa Gravidade

Código:

#include <amxmodx>
#include <  fun >
#include <zp50_class_human>
#include <zp50_core>
#include <zp50_colorchat>

// Raptor Human Attributes
new const humanclass2_name[] = "Jumper Human"
new const humanclass2_info[] = "Low gravity"
new const humanclass2_models[][] = { "gign" }
const humanclass2_health = 100
const Float:humanclass2_speed = 0.9
const Float:humanclass2_gravity = 0.6

new g_HumanClassID, cvar_armor

public plugin_precache()
{
   register_plugin("[ZP] Class: Human: Jumper", ZP_VERSION_STRING, "ZP Dev Team")
   
   g_HumanClassID = zp_class_human_register(humanclass2_name, humanclass2_info, humanclass2_health, humanclass2_speed, humanclass2_gravity)
   new index
   for (index = 0; index < sizeof humanclass2_models; index++)
      zp_class_human_register_model(g_HumanClassID, humanclass2_models[index])
      
   cvar_armor = register_cvar("zp_class_human_jumper", "0.9")
}

public zp_fw_core_spawn_post(id)
{
   if (zp_class_human_get_current(id) == g_HumanClassID)
   {
      zp_colored_print(id, "You are using^x04Jumper hclass^x01, you now have^x04%s^x01 gravity.", get_pcvar_num(cvar_armor))
      set_user_gravity(id, get_pcvar_float(cvar_armor))
   }
}

/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/



Human Runner - Muita Velocidade(Definido por cvar)

Código:

#include <amxmodx>
#include <hamsandwich>
#include <  fun >
#include <zp50_class_human>
#include <zp50_core>
#include <zp50_colorchat>

// Raptor Human Attributes
new const humanclass2_name[] = "Runner Human"
new const humanclass2_info[] = "Speeded"
new const humanclass2_models[][] = { "guerilla" }
const humanclass2_health = 95
const Float:humanclass2_speed = 1.4
const Float:humanclass2_gravity = 1.2

new g_HumanClassID, cvar_armor, bool:g_is_speeded[33]

public plugin_precache()
{
   register_plugin("[ZP] Class: Human: Jumper", ZP_VERSION_STRING, "ZP Dev Team")
   
   g_HumanClassID = zp_class_human_register(humanclass2_name, humanclass2_info, humanclass2_health, humanclass2_speed, humanclass2_gravity)
   new index
   for (index = 0; index < sizeof humanclass2_models; index++)
      zp_class_human_register_model(g_HumanClassID, humanclass2_models[index])
      
   cvar_armor = register_cvar("zp_class_human_runner", "343.0")
   RegisterHam(Ham_Think, "player", "Fw_PreThink")
}

public Fw_PreThink(id)
{
   if (g_is_speeded[id])
   {
      set_user_maxspeed(id, get_pcvar_float(cvar_armor))
   }
}

public zp_fw_core_spawn_post(id)
{
   if (zp_class_human_get_current(id) == g_HumanClassID)
   {
      zp_colored_print(id, "You are using^x04Runner hclass^x01, you now have^x04%s^x01 gravity.", get_pcvar_num(cvar_armor))
      g_is_speeded[id] = true
   }
}

/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/

Human silent-feet - Passos Silenciosos(Use a versão v2)

Código:

#include <amxmodx>
#include <hamsandwich>
#include <  fun >
#include <zp50_class_human>
#include <zp50_core>
#include <zp50_colorchat>

// Raptor Human Attributes
new const humanclass2_name[] = "Silent-feet Human"
new const humanclass2_info[] = "No feet sound"
new const humanclass2_models[][] = { "gsg9" }
const humanclass2_health = 100
const Float:humanclass2_speed = 1.0
const Float:humanclass2_gravity = 0.9

new g_HumanClassID, bool:g_is_nofeetsound[33]

public plugin_precache()
{
   register_plugin("[ZP] Class: Human: Silent feet", ZP_VERSION_STRING, "ZP Dev Team")
   
   g_HumanClassID = zp_class_human_register(humanclass2_name, humanclass2_info, humanclass2_health, humanclass2_speed, humanclass2_gravity)
   new index
   for (index = 0; index < sizeof humanclass2_models; index++)
      zp_class_human_register_model(g_HumanClassID, humanclass2_models[index])
      
   RegisterHam(Ham_Think, "player", "Fw_PreThink")
}

public Fw_PreThink(id)
{
   if (g_is_nofeetsound[id])
   {
      set_user_footsteps(id, 1)
   }
   if (zp_class_human_get_current(id) != g_HumanClassID)
   {
      g_is_nofeetsound[id] = false
   }
}

public zp_fw_core_spawn_post(id)
{
   if (zp_class_human_get_current(id) == g_HumanClassID)
   {
      zp_colored_print(id, "You are using^x04Silent-feet hclass^x01, you now have^x04silent feet^x01.")
      g_is_nofeetsound[id] = true
   }
}
OBS: Se você tiver qualquer problema, tente atualizar o seu zp versão 5.0 ...
Créditos: Allied Modders

description[ZP50] Human Classes EmptyRe: [ZP50] Human Classes

more_horiz
Muito Bom !

description[ZP50] Human Classes EmptyRe: [ZP50] Human Classes

more_horiz
Zplague12

description[ZP50] Human Classes EmptyRe: [ZP50] Human Classes

more_horiz
privacy_tip Permissões neste sub-fórum
Não podes responder a tópicos
power_settings_newInicie sessão para responder