Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adam Oldurunce Jarjor Fulleme Plugini
#1
Oncelikle Selamın Aleykum Benim CSDM Bir Serverim Var Adamı Oldurunce Jarjor Fulleme Plugini İstiyorum Bu Plugin Varsa Atarmısınız Arkadaşlar Teşekkur Ederim.
Reply
#2
#include <amxmodx>
#include <csdm>
#include <cstrike>
#include <fakemeta>


new const g_weapons[] =
{
CSW_P228,
CSW_SCOUT,
CSW_XM1014,
CSW_MAC10,
CSW_AUG,
CSW_ELITE,
CSW_FIVESEVEN,
CSW_UMP45,
CSW_SG550,
CSW_GALI,
CSW_GALIL,
CSW_FAMAS,
CSW_USP,
CSW_GLOCK18,
CSW_AWP,
CSW_MP5NAVY,
CSW_M249,
CSW_M3,
CSW_M4A1,
CSW_TMP,
CSW_G3SG1,
CSW_DEAGLE,
CSW_SG552,
CSW_AK47,
CSW_P90
}


new const g_max_clip[] =
{
13,
10,
7,
30,
30,
30,
20,
25,
30,
35,
35,
25,
12,
20,
10,
30,
100,
8,
30,
30,
20,
7,
30,
30,
50
}


new const g_other_weapons[] =
{
CSW_KNIFE,
CSW_HEGRENADE,
CSW_C4
}


public plugin_init()
register_plugin("CSDM Refill", "1.0", "Radiance")


public client_death(killer, victim, wpnindex, hitplace, TK)
{
if (!csdm_get_ffa() && TK)
return


for (new a = 0; a < sizeof (g_other_weapons); a++)
if (wpnindex == g_other_weapons[a])
return


new weapon = fm_get_weapon_ent(killer, wpnindex)


for (new a = 0; a < sizeof (g_weapons); a++)
if (wpnindex == g_weapons[a])
{
new ammo = get_weapon_maxclip(wpnindex)


if (ammo)
{
client_cmd(killer, "spk ^"items/9mmclip1.wav^"")
cs_set_weapon_ammo(weapon, ammo)
}
return


}
}


get_weapon_maxclip(wpnid = 0)
{
for (new a = 0; a < sizeof (g_weapons); a++)
if (wpnid == g_weapons[a])
return g_max_clip[a]


return false
}


fm_get_weapon_ent(id, wpnid = 0)
{
new name[32]


if(wpnid)
get_weaponname(wpnid, name, 31)


if (!equal(name, "weapon_", 7))
format(name, sizeof (name) - 1, "weapon_%s", name)


return fm_find_ent_by_owner(get_maxplayers(), name, id)
}


fm_find_ent_by_owner(id, const classname[], owner, jghgtype = 0)
{
new strtype[16] = "classname"
new ent = id


switch (jghgtype)
{
case 1: strtype = "target"
case 2: strtype = "targetname"
}


while ((ent = engfunc(EngFunc_FindEntityByString, ent, strtype, classname)) && pev(ent, pev_owner) != owner)
{
}


return ent
}
Reply
#3
[MENTION=50599]borbey[/MENTION] Kardeşim Hata Verio Yuklerken
Plugin yükleme başarısız! Diyor Direk .sma Dosyasını Atarmısiniz Teşekkurler.

- - - - - - - - - -
[MENTION=50599]borbey[/MENTION] Kardeşim Hata Verio Yuklerken
Plugin yükleme başarısız! Diyor Direk .sma Dosyasını Atarmısiniz Teşekkurler.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Auto-Connect Plugini adiosamigo 6 6,500 09-12-19, 08:31
Last Post: rezi072
  WebSiteBot plugini edit mahmutt159 21 10,543 09-12-17, 04:30
Last Post: exelds78
  Hook,grab,rope plugini ayar jackdalton06 13 9,473 09-12-17, 04:29
Last Post: exelds78
  [EDİT] Banka Plugini pandora158 9 12,116 09-12-17, 04:28
Last Post: exelds78
  Shop Plugini counter3 12 8,163 09-12-17, 04:26
Last Post: exelds78
  Nick Sifreleme Plugini xLdeJavu 10 6,275 09-12-17, 04:24
Last Post: exelds78
  Jailde jetpack plugini sallyreer 2 7,328 09-12-17, 04:24
Last Post: exelds78
  [JB] FastDownload Plugini -Csduragi Sorunu bunyo67900 5 6,647 09-12-17, 04:18
Last Post: exelds78
  Sabit Değişen Üst Reklam Plugini werr2 2 5,598 09-12-17, 04:17
Last Post: exelds78
  CT ler için paint plugini xLdeJavu 4 5,292 09-12-17, 04:16
Last Post: exelds78

Foruma Atla:


Users browsing this thread: 1 Guest(s)