Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Engi - zdjęcie

Engi

Rejestracja: 06.10.2011
Aktualnie: Przegląda stronę główną
Dostępny Ostatnio: 24 minut temu
*****

#388199 [ROZWIĄZANY] Nie czyta serwera

Napisane przez Engi w 30.03.2012 00:30

Daj sql.cfg
  • +
  • -
  • 1


#363203 [ROZWIĄZANE] Komputer do 1200 zł

Napisane przez Engi w 12.02.2012 13:12

http://allegro.pl/sz...2094137936.html - tylko dysk troche mały
http://www.arest.pl/...VGA-CR-Win7-HP/

http://www.agito.pl/...-50-436679.html
Zestaw komputerowy firmy Adax wyposażony jest w procesor Intel Atom Dual Core D525 o częstotliwości taktowania 1.80 GHz, z zainstalowaną pamięcią 2 GB RAM DDR3 oraz dysk twardy SATA II o pojemności 500 GB. Posiada wbudowaną kartę graficzną Intel GMA 3150 i zintegrowaną kartę dźwiękową. Zestaw ma wbudowaną nagrywarkę DVD. Wyposażony jest w złącze RJ-45 (LAN), 5 portów USB oraz złącza Audio. Zainstalowany system to Microsoft Windows7 Home Premium PL 64-bit.

Jak chodzi ci o win xp to już raczej ich nie sprzedają tylko od razu win7 pakują.
  • +
  • -
  • 1


#362702 [ROZWIĄZANE] Jak zrobić reset lvl'i?

Napisane przez Engi w 11.02.2012 20:02

Lub

wyłącz serwer i usuń

amxmodx/data/CodMod.vault



  • +
  • -
  • 2


#362261 Fast DL Nie działa

Napisane przez Engi w 11.02.2012 10:29

A dopisałeś do server.cfg sv_downloadurl "link do fd/cstrike" ?

Prawidłowy link (na przykładnie mojego FD: sv_downloadurl "www15968.host1.ownserv.pl/cstrike"

Pliki muszą się znajdować w folderach tak jak na serwerze czyli mapy w /cstrike/maps | modele w /cstrike/models itd
  • +
  • -
  • 1


#350561 [ROZWIĄZANE] bind na rakietke

Napisane przez Engi w 17.01.2012 12:42

Na klawisz "e" :)
Jeżeli masz odbindowany to wpisz w konsoli
bind "e" "+item"
lub
bind "e" "+useitem"

  • +
  • -
  • 1


#344801 [ROZWIĄZANE] Mapa startowa

Napisane przez Engi w 05.01.2012 11:30

Dopisz do komend startowych (lub zamień jeżeli masz już wpisane)
 +map de_nuke

  • +
  • -
  • 1


#342870 Proszę o zrobienie łavtwej klasy

Napisane przez Engi w 31.12.2011 16:01

Sorki masz poprawione

#include <amxmodx>
#include <amxmisc>
#include <codmod>
#include <hamsandwich>
#include <fun>

new const nazwa[] = "Ziomek";
new const opis[] = "dostaje m4 deagle i he 1/4";
new const bronie = (1<<CSW_HEGRENADE)|(1<<CSW_M4A1)|(1<<CSW_DEAGLE);
new const zdrowie = 30;
new const kondycja = 20;
new const inteligencja = 0;
new const wytrzymalosc = 5;

new ma_klase[33]
new oneonone[33][31]
public plugin_init()
{
register_plugin(nazwa, "1.0", "amxx.pl");
cod_register_class(nazwa, opis, bronie, zdrowie, kondycja, inteligencja, wytrzymalosc);
RegisterHam(Ham_TakeDamage, "player", "TakeDamage");
}
public cod_class_enabled(id)
{
give_item(id, "weapon_hegrenade");
ma_klase[id] = 1;
oneonone[id][CSW_HEGRENADE] = 4
}
public cod_class_disabled(id)
{
ma_klase[id] = 0;
oneonone[id][CSW_HEGRENADE] = 0
}
public TakeDamage(this, idinflictor, idattacker, Float:damage, damagebits)
{
if(!is_user_connected(idattacker))
return HAM_IGNORED;

if(!ma_klase[idattacker])
return HAM_IGNORED;

if(!(damagebits & (1<<1)))
return HAM_IGNORED;

new hp_ofiary = get_user_health(this)
new bron_atakujacego = get_user_weapon(idattacker)

if (oneonone[idattacker][bron_atakujacego] > 0)
{
if (random_num(1,oneonone[idattacker][bron_atakujacego]) == 1) cod_inflict_damage(idattacker, this, float(hp_ofiary), 0.0, idinflictor, damagebits);
}

return HAM_IGNORED;
}

  • +
  • -
  • 1


#342647 Perki

Napisane przez Engi w 31.12.2011 00:18

Tego pierwszego nie zrobię bo nie umiem ale łap ten drugi:

/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <hamsandwich>
#include <codmod>

new const perk_name[] = "Mistrzostwo";
new const perk_desc[] = "Zadajesz 10 obrazen wiecej";
new bool:ma_perk[33];
public plugin_init()
{
register_plugin(perk_name, "1.0", "QTM_Peyote");

cod_register_perk(perk_name, perk_desc);

RegisterHam(Ham_TakeDamage, "player", "TakeDamage");
}
public cod_perk_enabled(id)
ma_perk[id] = true;
public cod_perk_disabled(id)
ma_perk[id] = false;
public TakeDamage(this, idinflictor, idattacker, Float:damage, damagebits)
{
if(!is_user_connected(idattacker))
return HAM_IGNORED;

if(ma_perk[idattacker])
cod_inflict_damage(idattacker, this, 10.0, 0.0, idinflictor, damagebits);

return HAM_IGNORED;
}

  • +
  • -
  • 1


#342646 [ROZWIĄZANE] Przekierowanie na inny serwer gdy serwer jest pełny.

Napisane przez Engi w 31.12.2011 00:14

http://amxx.pl/topic...ate-09-02-2011/

redirect_auto
ustaw na "2"
  • +
  • -
  • 1


#342616 [ROZWIĄZANE] blad z kompilacja nowego coda ;/

Napisane przez Engi w 30.12.2011 23:16

Został już tylko jeden error :)
Wklejka: 132528333018610
  • +
  • -
  • 1


#342389 Proszę o zrobienie łavtwej klasy

Napisane przez Engi w 30.12.2011 17:05

#include <amxmodx>
#include <amxmisc>
#include <codmod>
#include <hamsandwich>
#include <fun>

new const nazwa[] = "Ziomek";
new const opis[] = "dostaje m4 deagle i he 1/4";
new const bronie = (1<<CSW_HEGRENADE)|(1<<CSW_M4A1)|(1<<CSW_DEAGLE);
new const zdrowie = 30;
new const kondycja = 20;
new const inteligencja = 0;
new const wytrzymalosc = 5;

new ma_klase[33]
new oneonone[33][31]

public plugin_init()
{
register_plugin(nazwa, "1.0", "amxx.pl");
cod_register_class(nazwa, opis, bronie, zdrowie, kondycja, inteligencja, wytrzymalosc);
RegisterHam(Ham_TakeDamage, "player", "TakeDamage");
}
public cod_class_enabled(id)
{
give_item(id, "weapon_hegrenade");
ma_klase[id] = 1;
oneonone[id][CSW_DEAGLE] = 4
}
public cod_class_disabled(id)
{
ma_klase[id] = 0;
oneonone[id][CSW_AWP] = 0
}
public TakeDamage(this, idinflictor, idattacker, Float:damage, damagebits)
{
if(!is_user_connected(idattacker))
return HAM_IGNORED;

if(!ma_klase[idattacker])
return HAM_IGNORED;

if(!(damagebits & (1<<1)))
return HAM_IGNORED;

new hp_ofiary = get_user_health(this)
new bron_atakujacego = get_user_weapon(idattacker)

if (oneonone[idattacker][bron_atakujacego] > 0)
{
if (random_num(1,oneonone[idattacker][bron_atakujacego]) == 1) cod_inflict_damage(idattacker, this, float(hp_ofiary), 0.0, idinflictor, damagebits);
}

return HAM_IGNORED;
}


Plik .amxx >>> http://amxx.pl/kompi...lass_ziomek.sma
  • +
  • -
  • 1


#342061 Skąd brać FastDL?

Napisane przez Engi w 30.12.2011 00:18

Pierwsze od góry http://www.google.pl...rywatny fast dl
hosta którego ci zwrócą dopisujesz w server.cfg
sv_downloadurl "http://nazwa-hosta-jaki-ci-dzadza/cstrike"

  • +
  • -
  • 1


#341853 Proźba o zrobienie 2 klas premium

Napisane przez Engi w 29.12.2011 19:06

Wojownik:
#include <amxmodx>
#include <amxmisc>
#include <codmod>
#include <fakemeta>
#include <cstrike>
#include <hamsandwich>

new const nazwa[] = "Wojownik (Premium)";
new const opis[] = "Ma 50 dodatkowych dmg i podwójny skok";
new const bronie = (1<<CSW_M4A1)|(1<<CSW_DEAGLE)|(1<<CSW_AK47);
new const zdrowie = 50;
new const kondycja = 50;
new const inteligencja = 50;
new const wytrzymalosc = 50;

new skoki[33];
new ma_klase[33];public plugin_init()
{
register_plugin(nazwa, "1.0", "amxx.pl");
cod_register_class(nazwa, opis, bronie, zdrowie, kondycja, inteligencja, wytrzymalosc);

register_forward(FM_CmdStart, "fwCmdStart_MultiJump");
RegisterHam(Ham_TakeDamage, "player", "TakeDamage");
}
public cod_class_enabled(id)
{
if(!(get_user_flags(id) & ADMIN_LEVEL_F))
{
client_print(id, print_chat, "[Wojownik] Nie masz uprawnien, aby uzywac tej klasy.")
return COD_STOP;
}
cs_set_user_nvg(id, 1);
cs_set_user_defuse(id, 1);
ma_klase[id] = true;

return COD_CONTINUE;
}public cod_class_disabled(id)
{
ma_klase[id] = false;
}public fwCmdStart_MultiJump(id, uc_handle)
{
if(!is_user_alive(id) || !ma_klase[id])
return FMRES_IGNORED;
new flags = pev(id, pev_flags);if((get_uc(uc_handle, UC_Buttons) & IN_JUMP) && !(flags & FL_ONGROUND) && !(pev(id, pev_oldbuttons) & IN_JUMP) && skoki[id])
{
skoki[id]--;
new Float:velocity[3];
pev(id, pev_velocity,velocity);
velocity[2] = random_float(265.0,285.0);
set_pev(id, pev_velocity,velocity);
}
else if(flags & FL_ONGROUND)
skoki[id] = 2;
return FMRES_IGNORED;
}public TakeDamage(this, idinflictor, idattacker, Float:damage, damagebits)
{
if(!is_user_connected(idattacker))
return HAM_IGNORED;
if(!ma_klase[idattacker])
return HAM_IGNORED;if(damagebits & DMG_BULLET)
{


if(get_user_weapon(idattacker) == CSW_DEAGLE && damagebits & DMG_BULLET)
cod_inflict_damage(idattacker, this, 50.0, 0.0, idinflictor, damagebits);

if(get_user_weapon(idattacker) == CSW_AK47 && damagebits & DMG_BULLET)
cod_inflict_damage(idattacker, this, 50.0, 0.0, idinflictor, damagebits);

if(get_user_weapon(idattacker) == CSW_M4A1 && damagebits & DMG_BULLET)
cod_inflict_damage(idattacker, this, 50.0, 0.0, idinflictor, damagebits);

if(get_user_weapon(idattacker) == CSW_KNIFE && damagebits & DMG_BULLET)
cod_inflict_damage(idattacker, this, 50.0, 0.0, idinflictor, damagebits);
}
return HAM_IGNORED;
}


Admirał z 1 rakietą:

/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <codmod>
#include <fakemeta>
#include <hamsandwich>
#include <engine>
#define DMG_BULLET (1<<1)
new const nazwa[] = "Admiral (Premium)";
new const opis[] = "Dodatkowe 30 dmg z galila oraz 20 hp i pelen magazynek za kazde zabojstwo";
new const bronie = (1<<CSW_GALIL)|(1<<CSW_DEAGLE);
new const zdrowie = 30;
new const kondycja = 30;
new const inteligencja = 30;
new const wytrzymalosc = 30;
new sprite_blast;
new ilosc_rakiet_gracza[33];
new poprzednia_rakieta_gracza[33];new bool:ma_klase[33];
new const maxClip[31] = { -1, 13, -1, 10, 1, 7, 1, 30, 30, 1, 30, 20, 25, 30, 35, 25, 12, 20,
10, 30, 100, 8, 30, 30, 20, 2, 7, 30, 30, -1, 50 };
public plugin_init() {
register_plugin(nazwa, "1.0", "QTM_Peyote");
cod_register_class(nazwa, opis, bronie, zdrowie, kondycja, inteligencja, wytrzymalosc);register_forward(FM_CmdStart, "CmdStart");
register_event("DeathMsg", "DeathMsg", "ade");
register_touch("rocket", "*" , "DotykRakiety");
RegisterHam(Ham_TakeDamage, "player", "TakeDamage");
}
public plugin_precache()
{
sprite_blast = precache_model("sprites/dexplo.spr");
precache_model("models/rpgrocket.mdl");
}public cod_class_enabled(id)
{
if(!(get_user_flags(id) & ADMIN_LEVEL_A))
{
client_print(id, print_chat, "[Admiral] Nie masz uprawnien, aby uzywac tej klasy.")
return COD_STOP;
}
ma_klase[id] = true;
ilosc_rakiet_gracza[id] = 1;
return COD_CONTINUE;
}
public cod_class_disabled(id)
ma_klase[id] = false;
public cod_class_skill_used(id)
{
if (!ilosc_rakiet_gracza[id])
{
client_print(id, print_center, "Wykorzystales juz wszystkie rakiety!");
return PLUGIN_CONTINUE;
}

if(poprzednia_rakieta_gracza[id] + 2.0 > get_gametime())
{
client_print(id, print_center, "Rakiet mozesz uzywac co 2 sekundy!");
return PLUGIN_CONTINUE;
}

if (is_user_alive(id))
{
poprzednia_rakieta_gracza[id] = floatround(get_gametime());
ilosc_rakiet_gracza[id]--; new Float: Origin[3], Float: vAngle[3], Float: Velocity[3];

entity_get_vector(id, EV_VEC_v_angle, vAngle);
entity_get_vector(id, EV_VEC_origin , Origin);

new Ent = create_entity("info_target");

entity_set_string(Ent, EV_SZ_classname, "rocket");
entity_set_model(Ent, "models/rpgrocket.mdl");

vAngle[0] *= -1.0;

entity_set_origin(Ent, Origin);
entity_set_vector(Ent, EV_VEC_angles, vAngle);

entity_set_int(Ent, EV_INT_effects, 2);
entity_set_int(Ent, EV_INT_solid, SOLID_BBOX);
entity_set_int(Ent, EV_INT_movetype, MOVETYPE_FLY);
entity_set_edict(Ent, EV_ENT_owner, id);

VelocityByAim(id, 1000 , Velocity);
entity_set_vector(Ent, EV_VEC_velocity ,Velocity);
}
return PLUGIN_CONTINUE;
}
public DotykRakiety(ent)
{
if (!is_valid_ent(ent))
return; new attacker = entity_get_edict(ent, EV_ENT_owner);

new Float:fOrigin[3];
entity_get_vector(ent, EV_VEC_origin, fOrigin);

new iOrigin[3];
for(new i=0;i<3;i++)
iOrigin[i] = floatround(fOrigin[i]);

message_begin(MSG_BROADCAST,SVC_TEMPENTITY, iOrigin);
write_byte(TE_EXPLOSION);
write_coord(iOrigin[0]);
write_coord(iOrigin[1]);
write_coord(iOrigin[2]);
write_short(sprite_blast);
write_byte(32);
write_byte(20);
write_byte(0);
message_end(); new entlist[33];
new numfound = find_sphere_class(ent, "player", 190.0, entlist, 32);

for (new i=0; i < numfound; i++)
{
new pid = entlist[i];

if (!is_user_alive(pid) || get_user_team(attacker) == get_user_team(pid))
continue;
cod_inflict_damage(attacker, pid, 55.0, 0.9, ent, (1<<24));
}
remove_entity(ent);
}
public ResetHUD(id)
ilosc_rakiet_gracza[id] = 1;public client_disconnect(id)
{
new ent = find_ent_by_class(0, "rocket");
while(ent > 0)
{
if(entity_get_edict(id, EV_ENT_owner) == id)
remove_entity(ent);
ent = find_ent_by_class(ent, "rocket");
}
}
public DeathMsg()
{
new killer = read_data(1);
new victim = read_data(2);if(!is_user_connected(killer))
return PLUGIN_CONTINUE;
if(ma_klase[victim] && !ma_klase[killer])
cod_set_user_xp(killer, cod_get_user_xp(killer)+10);if(ma_klase[killer])
{
new cur_health = pev(killer, pev_health);
new Float:max_health = 100.0+cod_get_user_health(killer);
new Float:new_health = cur_health+20.0<max_health? cur_health+20.0: max_health;
set_pev(killer, pev_health, new_health);

new weapon = get_user_weapon(killer);
if(maxClip[weapon] != -1)
set_user_clip(killer, maxClip[weapon]);
}

return PLUGIN_CONTINUE;
}
stock set_user_clip(id, ammo)
{
new weaponname[32], weaponid = -1, weapon = get_user_weapon(id, _, _);
get_weaponname(weapon, weaponname, 31);
while ((weaponid = engfunc(EngFunc_FindEntityByString, weaponid, "classname", weaponname)) != 0)
if (pev(weaponid, pev_owner) == id) {
set_pdata_int(weaponid, 51, ammo, 4);
return weaponid;
}
return 0;
}
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_team(this) != get_user_team(idattacker) && get_user_weapon(idattacker) == CSW_GALIL && damagebits & DMG_BULLET)
cod_inflict_damage(idattacker, this, 30.0, 0.0, idinflictor, damagebits);

return HAM_IGNORED;
}


Admirał bez rakiety:

/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <codmod>
#include <fakemeta>
#include <hamsandwich>
new const nazwa[] = "Admiral (Premium)";
new const opis[] = "Dodatkowe 30 dmg z galila oraz 20 hp i pelen magazynek za kazde zabojstwo";
new const bronie = (1<<CSW_GALIL)|(1<<CSW_DEAGLE);
new const zdrowie = 30;
new const kondycja = 30;
new const inteligencja = 30;
new const wytrzymalosc = 30;[/b]
[b]new bool:ma_klase[33];
new const maxClip[31] = { -1, 13, -1, 10, 1, 7, 1, 30, 30, 1, 30, 20, 25, 30, 35, 25, 12, 20,
10, 30, 100, 8, 30, 30, 20, 2, 7, 30, 30, -1, 50 };
public plugin_init() {
register_plugin(nazwa, "1.0", "QTM_Peyote");[/b][b]cod_register_class(nazwa, opis, bronie, zdrowie, kondycja, inteligencja, wytrzymalosc);[/b]
[b]register_forward(FM_CmdStart, "CmdStart");
register_event("DeathMsg", "DeathMsg", "ade");
}
public cod_class_enabled(id)
{
if(!(get_user_flags(id) & ADMIN_LEVEL_A))
{
client_print(id, print_chat, "[Admiral] Nie masz uprawnien, aby uzywac tej klasy.")
return COD_STOP;
}
ma_klase[id] = true;
return COD_CONTINUE;
}
public cod_class_disabled(id)
ma_klase[id] = false;[/b][b]public DeathMsg()
{
new killer = read_data(1);
new victim = read_data(2);[/b]
[b]if(!is_user_connected(killer))
return PLUGIN_CONTINUE;[/b][b]if(ma_klase[victim] && !ma_klase[killer])
cod_set_user_xp(killer, cod_get_user_xp(killer)+10);[/b]
[b]if(ma_klase[killer])
{
new cur_health = pev(killer, pev_health);
new Float:max_health = 100.0+cod_get_user_health(killer);
new Float:new_health = cur_health+20.0<max_health? cur_health+20.0: max_health;
set_pev(killer, pev_health, new_health);

new weapon = get_user_weapon(killer);
if(maxClip[weapon] != -1)
set_user_clip(killer, maxClip[weapon]);
}[/b]
[b]return PLUGIN_CONTINUE;
}
stock set_user_clip(id, ammo)
{
new weaponname[32], weaponid = -1, weapon = get_user_weapon(id, _, _);
get_weaponname(weapon, weaponname, 31);
while ((weaponid = engfunc(EngFunc_FindEntityByString, weaponid, "classname", weaponname)) != 0)
if (pev(weaponid, pev_owner) == id) {
set_pdata_int(weaponid, 51, ammo, 4);
return weaponid;
}
return 0;
}
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_team(this) != get_user_team(idattacker) && get_user_weapon(idattacker) == CSW_GALIL && damagebits & DMG_BULLET)
cod_inflict_damage(idattacker, this, 30.0, 0.0, idinflictor, damagebits);

return HAM_IGNORED;
}


//poprawiłem Wojownika bo zapomniałem o "RegisterHam(Ham_TakeDamage, "player", "TakeDamage");"
  • +
  • -
  • 1


#341838 Proźba o zrobienie 2 klas premium

Napisane przez Engi w 29.12.2011 18:39

Wojownik:
#include <amxmodx>
#include <amxmisc>
#include <codmod>
#include <fakemeta>
#include <cstrike>
#include <hamsandwich>

new const nazwa[] = "Wojownik (Premium)";
new const opis[] = "Ma 50 dodatkowych dmg i podwójny skok";
new const bronie = (1<<CSW_M4A1)|(1<<CSW_DEAGLE)|(1<<CSW_AK47);
new const zdrowie = 50;
new const kondycja = 50;
new const inteligencja = 50;
new const wytrzymalosc = 50;

new skoki[33];
new ma_klase[33];public plugin_init()
{
register_plugin(nazwa, "1.0", "amxx.pl");
cod_register_class(nazwa, opis, bronie, zdrowie, kondycja, inteligencja, wytrzymalosc);

register_forward(FM_CmdStart, "fwCmdStart_MultiJump");}
public cod_class_enabled(id)
{
if(!(get_user_flags(id) & ADMIN_LEVEL_F))
{
client_print(id, print_chat, "[Wojownik] Nie masz uprawnien, aby uzywac tej klasy.")
return COD_STOP;
}
cs_set_user_nvg(id, 1);
cs_set_user_defuse(id, 1);
ma_klase[id] = true;

return COD_CONTINUE;
}public cod_class_disabled(id)
{
ma_klase[id] = false;
}public fwCmdStart_MultiJump(id, uc_handle)
{
if(!is_user_alive(id) || !ma_klase[id])
return FMRES_IGNORED;
new flags = pev(id, pev_flags);if((get_uc(uc_handle, UC_Buttons) & IN_JUMP) && !(flags & FL_ONGROUND) && !(pev(id, pev_oldbuttons) & IN_JUMP) && skoki[id])
{
skoki[id]--;
new Float:velocity[3];
pev(id, pev_velocity,velocity);
velocity[2] = random_float(265.0,285.0);
set_pev(id, pev_velocity,velocity);
}
else if(flags & FL_ONGROUND)
skoki[id] = 2;
return FMRES_IGNORED;
}public TakeDamage(this, idinflictor, idattacker, Float:damage, damagebits)
{
if(!is_user_connected(idattacker))
return HAM_IGNORED;
if(!ma_klase[idattacker])
return HAM_IGNORED;if(damagebits & DMG_BULLET)
{


if(get_user_weapon(idattacker) == CSW_DEAGLE && damagebits & DMG_BULLET)
cod_inflict_damage(idattacker, this, 50.0, 0.0, idinflictor, damagebits);

if(get_user_weapon(idattacker) == CSW_AK47 && damagebits & DMG_BULLET)
cod_inflict_damage(idattacker, this, 50.0, 0.0, idinflictor, damagebits);

if(get_user_weapon(idattacker) == CSW_M4A1 && damagebits & DMG_BULLET)
cod_inflict_damage(idattacker, this, 50.0, 0.0, idinflictor, damagebits);

if(get_user_weapon(idattacker) == CSW_KNIFE && damagebits & DMG_BULLET)
cod_inflict_damage(idattacker, this, 50.0, 0.0, idinflictor, damagebits);
}
return HAM_IGNORED;
}


Admirała nie zrobię bo nie umiem :P ale myślę, że zaraz ktoś ci go da
  • +
  • -
  • 1


#341468 Plugin /regulamin

Napisane przez Engi w 29.12.2011 00:32

http://amxx.pl/topic...ugin-regulamin/
  • +
  • -
  • 1