/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <codmod> #include <engine> #define DMG_BULLET (1<<1) new bool:ma_klase[33]; new const nazwa[] = "Kucacz"; new const opis[] = "Podczas kucania jest niewidzialny"; new const bronie = 1<<CSW_GLOCK | 1<<CSW_M3; new const zdrowie = 50; new const kondycja = 20; new const inteligencja = 10; new const wytrzymalosc = 20; public plugin_init() { register_plugin(nazwa, "1.0", "QTM_Peyote"); cod_register_class(nazwa, opis, bronie, zdrowie, kondycja, inteligencja, wytrzymalosc); } public cod_class_enabled(id) ma_klase[id] = true; public cod_class_disabled(id) ma_klase[id] = false; public client_PreThink(id) { if(!ma_klase[id]) return; new button = get_user_button(id); if(button & IN_DUCK) set_rendering(id,kRenderFxGlowShell, 0, 0, 0, kRenderTransAlpha, 5); else set_rendering(id,kRenderFxGlowShell, 0, 0, 0, kRenderTransAlpha, 255); }
Jak toś może niech ustawi mi tą klasę na frage Q