⭐🚀 TkyNET | Blacklist ve Profesyonel DDoS Korumalı TeamSpeak 3 Sunucuları 🚀⭐
Sponsor Görsel
🇹🇷 TR Lokasyon | 🛡️ Gelişmiş DDoS Koruması | ⚡ Düşük Ping | 🎧 Kesintisiz TS3 | Hostlar
Sponsor Görsel 2
SponsorSponsor

Konu

#1
herkese kolay gelsin HE bombası ile adam öldürünce öldüren kişiye HE bombası versin ama sadece bomba ile öldürünce yapabilirmisiniz.
Son Düzenleme: 23-02-2020, 02:34, Düzenleyen: Kell_Adam.
#2
Yapabilen Varmı.
#3
PHP Kod:
#include <amxmodx>
#include <reapi>

new const PLUGIN[] = "Killer_Give_Grenade";
new const 
VERSION[] = "1.0";
new const 
AUTHOR[] = "By.KinG";

public 
plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR);
    
RegisterHookChain(RG_CBasePlayer_Killed"CBasePlayer_Killed", .post true);
}

public 
CBasePlayer_Killed(VictimKiller)
{
    if(
get_entvar(Killervar_weapons) == WEAPON_HEGRENADE)
    {
        
rg_give_item(Killer"WEAPON_HEGRENADE");
    }

Linksta
#4
...
PHP Kod:
/** 
* Created by AMXX-Stuido
* User: ITenGriTR
* Date: 24.02.2020
* Time 20.25
*/
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
#include <fun>

public plugin_init(){
    
register_plugin
    
("Naber",
    
"1.0",
    
"Berk");
    
    
RegisterHam(Ham_TakeDamage,"player","pH_TakeDamage");
}
public 
pH_TakeDamage(iP_Victim,iP_Infc,iP_Attacker,Float:fP_Damage,iP_DamageType){
    if(
iP_Victim 33){
        new 
iL_Health pev(iP_Victim,pev_health);
        if(
fP_Damage >= iL_Health && iP_DamageType DMG_GRENADE){
            if(
is_user_alive(iP_Attacker)){
                
give_item(iP_Attacker,"weapon_hegrenade");
            }
        }
    }

#5
Konunuz uzun bir süre güncellenmediği için "Zaman aşımına uğramış istekler" kategorisine taşınmıştır.
Linksta

Bir hesap oluşturun veya yorum yapmak için giriş yapın

Yorum yapmak için üye olmanız gerekiyor

ya da