05-29-2023, 02:26 PM
Hapi i 1: perfshirja..
Hapi 2: Krijimi i bazes
Hapi 3: Hyrjet
Hapi 4: Regjistroni zombien , un e bera ket:
Hapi 5: Kur te zgjedh zombien me ja qit tekstin posht..
Tash i bashkojm codet dhe e kompletojm.. duket si kjo.
Code:
#include <amxmodx>
#include <zombieplague>Hapi 2: Krijimi i bazes
Code:
// Zombie Attributes
new const zclass_name[] = { "Gravity Zombie" } // name
new const zclass_info[] = { "Low grav -HP" } // description
new const zclass_model[] = { "zombie_Source" } // model
new const zclass_clawmodel[] = { "v_knife_zombie.mdl" } // claw model
const zclass_health = 800 // health
const zclass_speed = 200 // speed
const Float:zclass_gravity = 0.4 // gravity
const Float:zclass_knockback = 0.6 // knockbackHapi 3: Hyrjet
Code:
// Class IDs
new g_zclassid1Hapi 4: Regjistroni zombien , un e bera ket:
Code:
// Zombie Classes MUST be registered on plugin_precache
public plugin_precache()
{
register_plugin("[ZP] Zombie Class: Gravity Zombie", "1.0", "Zombiezzz")
// Register the new class and store ID for reference
g_zclassid1 = zp_register_zombie_class(zclass_name, zclass_info, zclass_model, zclass_clawmodel, zclass_health, zclass_speed, zclass_gravity, zclass_knockback)
}Hapi 5: Kur te zgjedh zombien me ja qit tekstin posht..
Code:
public zp_user_infected_post ( id, infector )
{
if (zp_get_user_zombie_class(id) == g_zclassid1)
{
client_print(id, print_chat, "[ZP] You Have Choosen Gravity Zombie")
}
}Tash i bashkojm codet dhe e kompletojm.. duket si kjo.
Quote:/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <zombieplague>
// Zombie Attributes
new const zclass_name[] = { "Gravity Zombie" } // name
new const zclass_info[] = { "Low Grav -HP" } // description
new const zclass_model[] = { "zombie_source" } // model
new const zclass_clawmodel[] = { "v_knife_zombie.mdl" } // claw model
const zclass_health = 800 // health
const zclass_speed = 200 // speed
const Float:zclass_gravity = 0.5 // gravity
const Float:zclass_knockback = 0.6 // knockback
// Class IDs
new g_zclassid1
// Zombie Classes MUST be registered on plugin_precache
public plugin_precache()
{
register_plugin("[ZP] Zombie Class: Gravity Zombie", "1.0", "Zombiezzz")
// Register the new class and store ID for reference
g_zclassid1 = zp_register_zombie_class(zclass_name, zclass_info, zclass_model, zclass_clawmodel, zclass_health, zclass_speed, zclass_gravity, zclass_knockback)
}
public zp_user_infected_post ( id, infector )
{
if (zp_get_user_zombie_class(id) == g_zclassid1)
{
client_print(id, print_chat, "[ZP] You Have Choosen Gravity Zombie")
MY TOPICS:
GENETIC DEATHRUN WITH FPS BOOSTER - FPS 1000
Quote:Counter-Strike 1.6 – WaRzOnE (48 + 47) // +BOT
1. [Photoshop] Cartoon Effect
2. [CS] Si te instalojm "SwiftPanelin".
3. [CS] Komandat per Root/linux & Te gjita Problemet e tyre
4. [CS] Si ta rrisim FPS deri 99 [edhe nese se kemi NVIDIA]
5. [CS] FPS/Ping -Hltv Booster_mm
6. [CS] Si ta rregullojm STEAM VALIDATION REJECTED
GENETIC DEATHRUN WITH FPS BOOSTER - FPS 1000

