Proszę o skomplikowanie lub poprawienie możliwych błędów
#include
#include
#include
#include
#include
new const nazwa[] = "Shinobi";
new const opis[] = "";
new const bronie = 0;
new const zdrowie = 0;
new const kondycja = 0;
new const inteligencja = 0;
new const wytrzymalosc = 0;
new ma_klase[33];
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)
{
if(cod_get_user_level(id) < 150)
{
client_print(id, print_chat, "[%s] Klasa dostepna od 150 poziomu.", nazwa)
return COD_STOP
}
set_rendering(id,kRenderFxNone, 0, 0, 0, kRenderTransAlpha, 0);
ma_klase[id] = true;
return COD_CONTINUE;
}
public cod_class_enabled(id)
{
set_rendering(id,kRenderFxNone, 0, 0, 0, kRenderTransAlpha, 1);
ma_klase[id] = true;
}
public cod_class_disabled(id)
{
set_rendering(id,kRenderFxNone, 0, 0, 0, kRenderTransAlpha, 255);
ma_klase[id] = false;
}