←  Prośby o Klasę/Perk

AMXX.pl: Support AMX Mod X i SourceMod

»

Prosze o 2 klasy

  • +
  • -
simek412's Photo simek412 13.08.2012

1.Eliminator
0 int
20 hp
50 wyt
15 kon

Bronie:MAC-10
Opis: Posiada Zestaw Granatow oraz Defa.

2.Komandor
20 int
30 hp
15 wyt
10 kond

Bronie: MP5-Navy
Opis: Posiada Defa.
Quote

  • +
  • -
Mati1341's Photo Mati1341 14.08.2012

eliminator skompiluj sobie i git.










include <amxmodx>
#include <amxmisc>
#include <codmod>
#include <fun>
#include <cstrike>

new const nazwa[] = "Eliminator";
new const opis[] = "Posiada defa oraz zestaw granatow";
new const bronie = (1<<CSW_HEGRENADE)|(1<<CSW_MAC10)|(1<<CSW_SMOKEGRENADE)|(1<<CSW_FLASHBANG);
new const zdrowie = 20;
new const kondycja = 15;
new const inteligencja = 0;
new const wytrzymalosc = 50;

public plugin_init()
{
register_plugin(nazwa, "1.0", "amxx.pl");

cod_register_class(nazwa, opis, bronie, zdrowie, kondycja, inteligencja, wytrzymalosc);
}

public cod_class_enabled(id)
{
give_item(id, "weapon_hegrenade");
give_item(id, "weapon_flashbang");
give_item(id, "weapon_flashbang");
give_item(id, "weapon_smokegrenade");
cs_set_user_defuse(id, 1);

}
Quote

  • +
  • -
иєxт's Photo иєxт 14.08.2012

Łap

Attached Files

Quote