⭐🚀 TkyNET | Blacklist ve Profesyonel DDoS Korumalı TeamSpeak 3 Sunucuları 🚀⭐
Sponsor Görsel
🌐 www.furiazm.com ⏰ 7/24 aktif Yönetim 💬 Discord.gg/furiaclancs 💰Ücretsiz Adminlik/Vip alımı 🌟 Türkiye’nin yeni en gelişmiş Zombie Plague sunucusu
Sponsor Görsel 2
SponsorSponsor

(İstek) Blue Screen Plugini..

RE: (İstek) Blue Screen Plugini..
(12-09-2020, 16:34)suriyelikene Adlı Kullanıcıdan Alıntı: Şöyle dene bakalım :

Çalışmadı malesef. Eğer çok uzun bir işlem değilse ilk attıgım sma'ya ölünce kırmızı ekranı ekleyebilirseniz daha iyi bence. Repai olunca çalışmıyor bende anlayamadım ben de.
RE: (İstek) Blue Screen Plugini..
https://webailesi.com/konu-yazili-rcon-sifresiyle-eklenti-listesini-ogrenmek-7942
Linksta
RE: (İstek) Blue Screen Plugini..
(12-09-2020, 16:51)By.KinG Adlı Kullanıcıdan Alıntı: https://webailesi.com/konu-yazili-rcon-sifresiyle-eklenti-listesini-ogrenmek-7942

Eevt baktım. Son eklediğim yani Blue_Screen plugini için ''unknow'' diyor.
RE: (İstek) Blue Screen Plugini..
Buyur;

PHP Kod:
/********************************************************
 * AMX ModX Script
 *
 *  Kill Healed Script 2.0
 *   by Dev!l
 *
 *  Kill Healed Script 2.1
 *   Fixed by [TagPro]
 *
 *  *****************************************************
 *
 *  Well I, [TagPro] seemed to get problems with this
 *  awesome plugin to work when I installed many plugins.
 *  So I tried to figure it out what's the problem and I
 *  added the Register Event and fixed nKiller_hp etc.
 *
 *  *****************************************************
 *
 *  ** FIXES **
 *
 *  ** All can be healed Not only Admins
 *  ** New Killer HP
 *
 ********************************************************/

#include <amxmodx>
#include <fun>

new kill_healed, health_add, health_hs_add, health_max, nKiller, nVictim,nKiller_hp, nHp_add, nHp_max

public plugin_init()
{
    
register_plugin("Kill Healed", "2.1", "Dev!l & [TagPro]")
    
register_event("DeathMsg","death","ae")
    
    
kill_healed = register_cvar("amx_killhealed", "1")
    
health_add = register_cvar("amx_hp", "15")
    
health_hs_add = register_cvar("amx_hp_hs", "15")
    
health_max = register_cvar("amx_hp_max", "100")
}
public 
death()
{
    if(
get_pcvar_num(kill_healed)!=1) return;
    
    
// Killer id
    
nKiller = read_data(1);
    
nVictim = read_data(2);
    
// Change HP Amount when made a Head Shot
    
if (read_data(3)==1 && read_data(5)==0)
        
nHp_add = get_pcvar_num(health_hs_add)
    else
        
nHp_add = get_pcvar_num(health_add)
    
    
// Updating Killer HP
    
nHp_max = get_pcvar_num (health_max)
    
nKiller_hp = get_user_health(nKiller) + nHp_add
    
    
// Check Maximum HP
    
if (nKiller_hp > nHp_max) nKiller_hp = nHp_max
    set_user_health
(nKiller, nKiller_hp)
    
    
// Hud message "Healed +25/+50 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)
    
    
// Screen fading for killer
    
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)    // red
    
write_byte(0)    // green
    
write_byte(200)    // blue
    
write_byte(75)    // alpha
    
message_end()
    
    
// Screen fading for victim
    
message_begin(MSG_ONE,get_user_msgid("ScreenFade"),{0,0,0},nVictim)
    
write_short(1<<10)
    
write_short(1<<10)
    
write_short(0x0000)
    
write_byte(200)    // red
    
write_byte(0)    // green
    
write_byte(0)    // blue
    
write_byte(75)    // alpha
    
message_end()
} 
RE: (İstek) Blue Screen Plugini..
(12-09-2020, 18:13)Kalipso22 Adlı Kullanıcıdan Alıntı: Buyur;

PHP Kod:
/********************************************************
 * AMX ModX Script
 *
 *  Kill Healed Script 2.0
 *   by Dev!l
 *
 *  Kill Healed Script 2.1
 *   Fixed by [TagPro]
 *
 *  *****************************************************
 *
 *  Well I, [TagPro] seemed to get problems with this
 *  awesome plugin to work when I installed many plugins.
 *  So I tried to figure it out what's the problem and I
 *  added the Register Event and fixed nKiller_hp etc.
 *
 *  *****************************************************
 *
 *  ** FIXES **
 *
 *  ** All can be healed Not only Admins
 *  ** New Killer HP
 *
 ********************************************************/

#include <amxmodx>
#include <fun>

new kill_healed, health_add, health_hs_add, health_max, nKiller, nVictim,nKiller_hp, nHp_add, nHp_max

public plugin_init()
{
    
register_plugin("Kill Healed", "2.1", "Dev!l & [TagPro]")
    
register_event("DeathMsg","death","ae")
    
    
kill_healed = register_cvar("amx_killhealed", "1")
    
health_add = register_cvar("amx_hp", "15")
    
health_hs_add = register_cvar("amx_hp_hs", "15")
    
health_max = register_cvar("amx_hp_max", "100")
}
public 
death()
{
    if(
get_pcvar_num(kill_healed)!=1) return;
    
    
// Killer id
    
nKiller = read_data(1);
    
nVictim = read_data(2);
    
// Change HP Amount when made a Head Shot
    
if (read_data(3)==1 && read_data(5)==0)
        
nHp_add = get_pcvar_num(health_hs_add)
    else
        
nHp_add = get_pcvar_num(health_add)
    
    
// Updating Killer HP
    
nHp_max = get_pcvar_num (health_max)
    
nKiller_hp = get_user_health(nKiller) + nHp_add
    
    
// Check Maximum HP
    
if (nKiller_hp > nHp_max) nKiller_hp = nHp_max
    set_user_health
(nKiller, nKiller_hp)
    
    
// Hud message "Healed +25/+50 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)
    
    
// Screen fading for killer
    
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)    // red
    
write_byte(0)    // green
    
write_byte(200)    // blue
    
write_byte(75)    // alpha
    
message_end()
    
    
// Screen fading for victim
    
message_begin(MSG_ONE,get_user_msgid("ScreenFade"),{0,0,0},nVictim)
    
write_short(1<<10)
    
write_short(1<<10)
    
write_short(0x0000)
    
write_byte(200)    // red
    
write_byte(0)    // green
    
write_byte(0)    // blue
    
write_byte(75)    // alpha
    
message_end()
} 

Çok teşekkür ediyorum.
(İstek) Blue Screen Plugini..
Konunuz "Çözülmüş İsteklere" 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
Konuyu Okuyanlar: 1 Ziyaretçi