Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[TUT] Si te krijojm nje Zombie Class te ri.
#1
Hapi i 1: perfshirja..

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 // knockback

Hapi 3: Hyrjet
Code:
// Class IDs new g_zclassid1

Hapi 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")
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#2
kurgjo i kuptushem skoka bone Tuto me video jo me shkrim
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#3
cozman Wrote:kurgjo i kuptushem skoka bone Tuto me video jo me shkrim

Allaile ? mos po don edhe HD e sene vene, ik be pash zoti - tkofsh coder e merr vesh

Svyn ktu video se veq me script ki me punu
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#4
autori o.O
[Image: forumrulesi.gif]
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#5
Copy Paste nuk me kujtohet faqja ku e kam par ket tutorial
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#6
Hej Dost Big Grin kadale pak edhe sigurohu me ba me funksionu 100% plugini
un po muj e compiloj po kur pe shti ne srw zm spo me ban ma qet bad load
qysh duhet me ndreq ose ndreqe tuto ma mir
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#7
https://forums.alliedmods.net/showthread.php?t=110938
edhe Dost kqyre pak ktu ku e ke vjedh tuto o hajn menon qe mban budall mu :x
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#8
https://forums.alliedmods.net/showthread.php?t=110938
edhe Dost kqyre pak ktu ku e ke vjedh tuto o hajn menon qe mban budall mu :x
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:


Forum Jump:


Users browsing this thread: 1 Guest(s)