←  Prośby o kompilacje pluginów / Problemy z kompilacją

AMXX.pl: Support AMX Mod X i SourceMod

»

Problem z copliliowanem pliku .sma

Locked

Inferly's Photo Inferly 09.02.2012

mam problem i nie moge scompilowac pliku .



oto plik proszę mi go scompiliowac na plik .amx

Attached Files

Quote

  • +
  • -
Hiroshima's Photo Hiroshima 09.02.2012

jeśli już to SKOMPILOWAĆ

a oto kod:

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <codmod>
#include <hamsandwich>


#define DMG_BULLET (1<<1)


new bool:ma_klase[33];

new const nazwa[] = "Amadeusz";
new const opis[] = "Dodatkowe 15(+inteligencja) obrazen z MP5";
new const bronie = 1<<CSW_MP5NAVY;
new const zdrowie = 15;
new const kondycja = 7;
new const inteligencja = 0;
new const wytrzymalosc = 3;

public plugin_init()
{
register_plugin(nazwa, "1.0", "QTM_Peyote");

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

RegisterHam(Ham_TakeDamage, "player", "TakeDamage");
}

public cod_class_enabled(id)
{
if(!(get_user_flags(id) & ADMIN_LEVEL_H))
{
client_print(id, print_chat, "[] Nie masz uprawnien, aby uzywac tej klasy.")
return COD_STOP;
}

return COD_CONTINUE;
}

public cod_class_disabled(id)
ma_klase[id] = false;


public TakeDamage(this, idinflictor, idattacker, Float:damage, damagebits)
{
if(!is_user_connected(idattacker))
return HAM_IGNORED;

if(!ma_klase[idattacker])
return HAM_IGNORED;

if(get_user_weapon(idattacker) == CSW_MP5NAVY && damagebits & DMG_BULLET)
cod_inflict_damage(idattacker, this, 15.0, 0.2, idinflictor, damagebits);

return HAM_IGNORED;
}
Quote

  • +
  • -
FetaGreen's Photo FetaGreen 09.02.2012

A tutaj masz kod SKOMPILOWANY - http://amxx.pl/kompi...ss_amadeusz.sma
Quote
Locked