Otóż chcę zrobić klasy zombie od lvl ale nie wiem dokładnie jak to zrobić , przy kompilacji mam 3 błędy.
Tylko klase tanker na razie robiłem.Robione są od lvl do tego exp moda http://amxx.pl/topic...mod-by-gt-team/ wersji najwyższej.
#include <amxmodx>
#include <basebuilder>
#include <hamsandwich>
#include <expmod>
#include <fun>
#include <cstrike>
/*================================================================================
[Plugin Customization]
=================================================================================*/
// Classic Zombie Attributes
new const zclass1_name[] = { "Classic Zombie" }
new const zclass1_info[] = { "3000 HP 260 Speed 1.0 Gravity" }
new const zclass1_model[] = { "bb_classic" }
new const zclass1_clawmodel[] = { "v_bloodyhands" }
const zclass1_health = 3000
const zclass1_speed = 260
const Float:zclass1_gravity = 1.0
const zclass1_adminflags = ADMIN_USER
// Tanker Zombie Attributes
new const zclass4_name[] = { "Tanker Zombie" }
new const zclass4_info[] = { "4000 HP 210 Speed 1.0 Gravity" }
new const zclass4_model[] = { "bb_tanker" }
new const zclass4_clawmodel[] = { "v_bloodyhands" }
new const exp_level4[] = 5
const zclass4_health = 4000
const zclass4_speed = 210
const Float:zclass4_gravity = 1.0
const zclass4_adminflags = ADMIN_USER
/*============================================================================*/
new exp_level4 = exp_get_user_level (index)
// Zombie Classes MUST be registered on plugin_precache
public plugin_precache()
{
register_plugin("[BB] Default Zombie Classes", "6.5.1", "Tirant modified")
// Register all classes
bb_register_zombie_class(zclass1_name, zclass1_info, zclass1_model, zclass1_clawmodel, exp_level4, zclass1_health, zclass1_speed, zclass1_gravity, 0.0, zclass1_adminflags)
bb_register_zombie_class(zclass4_name, zclass4_info, zclass4_model, zclass4_clawmodel, zclass4_health, zclass4_speed, zclass4_gravity, 0.0, zclass4_adminflags)
}
Proszę o pomoc oraz proszę o informację jak to zostało zrobionę ponieważ ucze się ![]()


Dodatki SourceMod



Temat jest zamknięty








