masz
/* Plugin generated by
AMXX-Studio */
#include <amxmodx>
#include <codmod>
#include <hamsandwich>
#include <ColorChat>
#define DMG_BULLET (1<<1)
new bool:ma_klase[33];
new const nazwa[] = "[Premium]KaliBeR";
new const opis[] = "M4A1+ AKA Natychmiastowe zabicie z noza(PPM) + 200% biegu ";
new const bronie = 1<<CSW_M4A1 | 1<<CSW_AK47;
new const zdrowie = 140;
new const kondycja = 100;
new const inteligencja = 5;
new const wytrzymalosc = 0;
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) //(id) to gracz , a 0 to wszyscy, uzywamy (id)!!
{
ColorChat(id, RED, "^x04Klasa^x03 %s^x04 By^x01 Chacku", nazwa); //Gdy gracz nie ma flagi wyświetli mu komunikat
if(!(get_user_flags(id) & ADMIN_LEVEL_H)) //FLAGA
{
ColorChat(id, RED, "^x03[%s]^x04 Jest^x03 klasa premium", nazwa) //Znowu info ze przykładowa klasa jest PREMIUM
return COD_STOP;
}
return COD_CONTINUE; //To nie pozwala PLUGINOWI pokazywać w kółko to samo ze klasa jest Premium
}
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_KNIFE && damagebits & DMG_BULLET && damage > 20.0)
cod_inflict_damage(idattacker, this, float(get_user_health(this))-damage+1.0, 0.0, idinflictor, damagebits);
return HAM_IGNORED;
}
tutaj kolejna
/* Plugin generated by
AMXX-Studio */
#include <amxmodx>
#include <hamsandwich>
#define DMG_BULLET (1<<1)
#include <codmod>
#include <engine>
#include <ColorChat>
new const nazwa[] = "[Premium]Invitron";
new const opis[] = "1/4 z deagla + Auto BH + 180% biegu ";
new const bronie = 1<<CSW_DEAGLE | 1<<CSW_HEGRENADE | 1<<CSW_FLASHBANG | 1<<CSW_SMOKEGRENADE;
new const zdrowie = 110;
new const kondycja = 80;
new const inteligencja = 10;
new const wytrzymalosc = 0;
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) //(id) to gracz , a 0 to wszyscy, uzywamy (id)!!
{
ColorChat(id, RED, "^x04Klasa^x03 %s^x04 By^x01 Chacku", nazwa); //Gdy gracz nie ma flagi wyświetli mu komunikat
if(!(get_user_flags(id) & ADMIN_LEVEL_H)) //FLAGA
{
ColorChat(id, RED, "^x03[%s]^x04 Jest^x03 klasa premium", nazwa) //Znowu info ze przykładowa klasa jest PREMIUM
return COD_STOP;
}
return COD_CONTINUE; //To nie pozwala PLUGINOWI pokazywać w kółko to samo ze klasa jest Premium
}
public TakeDamage(this, idinflictor, idattacker, Float:damage, damagebits)
{
if(!is_user_connected(idattacker))
return HAM_IGNORED;
if(get_user_weapon(idattacker) == CSW_DEAGLE && !random(4) && damagebits & DMG_BULLET)
cod_inflict_damage(idattacker, this, float(get_user_health(this))-damage+1.0, 0.0, idinflictor, damagebits);
return HAM_IGNORED;
}
public client_PreThink(id)
{
if(!(get_user_button(id) & IN_JUMP))
return PLUGIN_CONTINUE;
new flags = get_entity_flags(id);
if (flags & FL_WATERJUMP)
return PLUGIN_CONTINUE;
if (entity_get_int(id, EV_INT_waterlevel) >= 2)
return PLUGIN_CONTINUE;
if (!(flags & FL_ONGROUND))
return PLUGIN_CONTINUE;
new Float:velocity[3];
entity_get_vector(id, EV_VEC_velocity, velocity);
velocity[2] += 250.0
entity_set_vector(id, EV_VEC_velocity, velocity);
entity_set_int(id, EV_INT_gaitsequence, 6);
return PLUGIN_CONTINUE;
}
/*
AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1045\\ f0\\ fs16 \n\\ par }
*/
i kolejna
/* Plugin generated by
AMXX-Studio */
#include <amxmodx>
#include <codmod>
#include <hamsandwich>
#include <colorchat>
#define DMG_BULLET (1<<1)
new bool:ma_klase[33];
new const nazwa[] = "Amadeusz";
new const opis[] = "Dodatkowe 35(+inteligencja) obrazen z MP5";
new const bronie = 1<<CSW_MP5NAVY;
new const zdrowie = 40;
new const kondycja = 19;
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)
{
ColorChat(id, GREEN, "Klasa stworzona przez pluginymody.webd.pl");
ma_klase[id] = true;
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, 35.0, 0.2, idinflictor, damagebits);
return HAM_IGNORED;
}
i ostatnia
/* Plugin generated by
AMXX-Studio */
#include <amxmodx>
#include <codmod>
#include <engine>
#define DMG_BULLET (1<<1)
new bool:ma_klase[33];
new const nazwa[] = "Profesjonalny Kucacz ";
new const opis[] = "Podczas kucania jest niewidzialny";
new const bronie = 1<<CSW_DEAGLE | 1<<CSW_M3 | 1<<CSW_MAC10 ;
new const zdrowie = 80;
new const kondycja = 70;
new const inteligencja = 0;
new const wytrzymalosc = 0;
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);
}
/*
AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1045\\ f0\\ fs16 \n\\ par }
*/
reszty nie umialem