Będzie plusik ;]
#include <amxmodx> #include <amxmisc> #include <codmod> new const nazwa[] = "Tylko dla CT"; new const opis[] = "Tylko dla CT"; new const bronie = (1<<CSW_KNIFE); new const zdrowie = 0; new const kondycja = 0; new const inteligencja = 0; new const wytrzymalosc = 0; public plugin_init(){ register_plugin(nazwa, "1.0", "Vasto_Lorde"); cod_register_class(nazwa, opis, bronie, zdrowie, kondycja, inteligencja, wytrzymalosc); } public cod_class_enabled(id){ if(get_user_team(id) == 1){//1 - TT, 2 - CT client_print(id, print_chat, "Jestes w TT, nie masz uprawnien, aby uzywac tej klasy") return COD_STOP; } return COD_CONTINUE; }