gungame vip pluginas

Šiame forume vartotojai gali prašyti jiems reikiamo plugino.
Forum rules
Šiame forume galite siūlyti idėjas ar prašyti jums reikalingų pluginų. Jei kas nors pradės jį kurti, tai pasirašys Jūsų sukurtoje temoje. Niekada nepykite, jei niekas neatsako į Jūsų prašymą. Gal tai tiesiog per sudėtinga, arba reikalauja per daug darbo.
Post Reply
User avatar
asus
Jau po truputį tampa savu
Posts: 183
Joined: 2014 Sep 19 23:42
Skype: mirtis.lt
Location: Vilnius
Contact:

gungame vip pluginas

Post by asus »

Gal kas gali pasiūlyti, koki nebloga, gungame vip plugimą :A:
Attachments
GGvip.sma
gal kas gali patvarkyti, nes neveikia vipmenu
(11.13 KiB) Downloaded 642 times
Last edited by asus on 2015 Feb 19 14:32, edited 1 time in total.
Tik kvailiai ir numirėliai niekada nekeičia savo nuomonės.

User avatar
laimiukas3
Moderatorius
Posts: 4569
Joined: 2012 Aug 03 01:12
Skype: laimiukas3
Location: Vilnius
Contact:

Re: gungame vip pluginas

Post by laimiukas3 »

- +20 hp per kill
- +40 hp per hs kill
- unlimited ammo clip
- bullet damage
- slot reservation

Code: Select all

#include <amxmodx>#include <cstrike>#include <fun>#include <hamsandwich>#include <fakemeta> #define VIP ADMIN_LEVEL_H //vip flag T new ammo[33], nKiller, nKiller_hp, nHp_add, nHp_max, g_MsgSync public plugin_init() {    register_plugin("GG VIP", "0.1", "naXe")    RegisterHam(Ham_Spawn,"player","resp",1)    register_event("CurWeapon","cur_weapon","be", "1=1")    register_event("DeathMsg", "hook_death", "a", "1>0")        g_MsgSync = CreateHudSyncObj()} public resp (id) {    if(get_user_flags(id) & VIP) {        ammo[id] = true        set_user_clip(id, 31)    }} public cur_weapon(id) {    if(ammo[id]) {        set_user_clip(id, 31)    }} public bullet(id) {    new attacker = get_user_attacker(id)    if (is_user_connected(id) && is_user_connected(attacker) && get_user_flags(attacker) & VIP) {        new damage = read_data(2)         set_hudmessage(0, 100, 200, -1.0, 0.55, 2, 0.1, 4.0, 0.02, 0.02, -1)        ShowSyncHudMsg(attacker, g_MsgSync, "%i^n", damage)    }} public hook_death() {    nKiller = read_data(1)    if ((read_data(3) == 1) && (read_data(5) == 0)) {        nHp_add = 40    } else        nHp_add = 20        nHp_max = 150    if(!(get_user_flags(nKiller) & VIP))        return     nKiller_hp = get_user_health(nKiller)    nKiller_hp += nHp_add    if (nKiller_hp > nHp_max) nKiller_hp = nHp_max        set_user_health(nKiller, nKiller_hp)     set_hudmessage(0, 255, 0, -1.0, 0.15, 0, 1.0, 1.0, 0.1, 0.1, -1)    show_hudmessage(nKiller, "Healed +%d hp", nHp_add)    message_begin(MSG_ONE, get_user_msgid("ScreenFade"), {0,0,0}, nKiller)    write_short(1<<10)    write_short(1<<10)    write_short(0x0000)    write_byte(0)    write_byte(0)    write_byte(200)    write_byte(75)    message_end()} 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}  
Image
Image
Image

User avatar
ArtHa123
Flooderis arba specialistas
Posts: 738
Joined: 2014 Feb 19 18:40

Re: gungame vip pluginas

Post by ArtHa123 »

Galių pasiūlyti atlikti užsakymą už nedidelę kainą. :A:

Jeigu domina, skype --> artha.esf
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests