⭐🚀 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
merhaba 

c4 glow eklentisi için yardımcı olabilecek varmı elimde sadece kurulunca beyaz glow ile parlayanı var ama ben oyuniçinde c4 yere düştüğünde veya kurulunca kırmızı glow ile parlamasıni istiyorum yardımcı olabilecek varmı
.smac4_glowshell.sma(Dosya Boyutu: 1,32 KB | İndirme Sayısı: 2)
ReckLesS PRO×PUB Since 2009  | ip: 95.173.173.9 | Ts3: recklesspro
#2
Onun yerine bu eklentiyi kullanabilirsin ve daha optimize bir plugindir.

https://www.webailesi.com/konu-c4-konum-gosterme-eklentisi-29881
Stand Back Warrior's   | ip: cs.sbwpro.com | ts3: ts3.sbwpro.com
#3
(25-02-2025, 17:08)distanced Adlı Kullanıcıdan Alıntı: merhaba 

c4 glow eklentisi için yardımcı olabilecek varmı elimde sadece kurulunca beyaz glow ile parlayanı var ama ben oyuniçinde c4 yere düştüğünde veya kurulunca kırmızı glow ile parlamasıni istiyorum yardımcı olabilecek varmı
Merhaba dener misiniz ?
Kod:
#include <amxmodx>
#include <csx>
#include <engine>

new thetime
new c4 = -1

public plugin_init()
{
    register_plugin("C4 Glow Shell","0.2","GordonFreeman") // ICQ: 50429042
    register_event("CurWeapon", "bomb_dropped", "be", "1=1", "2=29") // C4 düştüğünde tespit etmek için
}

public bomb_planted(){
    thetime = get_cvar_num("mp_c4timer")
    set_task(1.0, "c4glow", 8038, "", 0, "b")
}

public bomb_dropped(){
    c4 = find_ent_by_model(c4, "grenade", "models/w_c4.mdl")
    set_task(1.0, "c4glow_dropped", 8039, "", 0, "b")
}

public c4glow(){
    c4 = find_ent_by_model(c4, "grenade", "models/w_c4.mdl")
    --thetime // countdown
    
    // Set colors for planted C4
    new Float:colors[3]
    if(thetime>=40){
    colors[0] = 0.0
    colors[1] = 128.0
    colors[2] = 0.0
    }
    else if(thetime>=35){
    colors[0] = 128.0
    colors[1] = 255.0
    colors[2] = 0.0
    }
    else if(thetime>=30){
    colors[0] = 255.0
    colors[1] = 255.0
    colors[2] = 128.0
    }
    else if(thetime>=25){
    colors[0] = 255.0
    colors[1] = 255.0
    colors[2] = 64.0
    }
    else if(thetime>=20){
    colors[0] = 255.0
    colors[1] = 128.0
    colors[2] = 0.0
    }
    else if(thetime>=10){
    colors[0] = 255.0
    colors[1] = 128.0
    colors[2] = 128.0
    }
    else if(thetime>=0){
    colors[0] = 255.0
    colors[1] = 0.0
    colors[2] = 0.0
    }
    
    // Apply colors
    entity_set_int(c4,EV_INT_rendermode,kRenderTransColor)
    entity_set_int(c4,EV_INT_renderfx,kRenderFxGlowShell)
    entity_set_vector(c4,EV_VEC_rendercolor,colors)
    entity_set_float(c4,EV_FL_renderamt,128.0) // ammout of glow, try 255.0 or 1.0 ;)

    if(thetime==0)
    remove_task(8038)
}

public c4glow_dropped(){
    c4 = find_ent_by_model(c4, "grenade", "models/w_c4.mdl")
    
    // Set colors for dropped C4 (red)
    new Float:colors[3]
    colors[0] = 255.0
    colors[1] = 0.0
    colors[2] = 0.0
    
    // Apply colors
    entity_set_int(c4,EV_INT_rendermode,kRenderTransColor)
    entity_set_int(c4,EV_INT_renderfx,kRenderFxGlowShell)
    entity_set_vector(c4,EV_VEC_rendercolor,colors)
    entity_set_float(c4,EV_FL_renderamt,128.0) // ammout of glow, try 255.0 or 1.0 ;)
}

95.173.173.29    |   ts3 ngpro   |  Nationals Gaming | Since 2014
#4
(25-02-2025, 18:05)mehmetxkonya Adlı Kullanıcıdan Alıntı:
(25-02-2025, 17:08)distanced Adlı Kullanıcıdan Alıntı: merhaba 

c4 glow eklentisi için yardımcı olabilecek varmı elimde sadece kurulunca beyaz glow ile parlayanı var ama ben oyuniçinde c4 yere düştüğünde veya kurulunca kırmızı glow ile parlamasıni istiyorum yardımcı olabilecek varmı
Merhaba dener misiniz ?


denedim kırmızı olmuş fakat yere düşünce olmamış yere düşüncede kırmızı glow olsun istiyorum
Kod:
#include <amxmodx>
#include <csx>
#include <engine>

new thetime
new c4 = -1

public plugin_init()
{
    register_plugin("C4 Glow Shell","0.2","GordonFreeman") // ICQ: 50429042
    register_event("CurWeapon", "bomb_dropped", "be", "1=1", "2=29") // C4 düştüğünde tespit etmek için
}

public bomb_planted(){
    thetime = get_cvar_num("mp_c4timer")
    set_task(1.0, "c4glow", 8038, "", 0, "b")
}

public bomb_dropped(){
    c4 = find_ent_by_model(c4, "grenade", "models/w_c4.mdl")
    set_task(1.0, "c4glow_dropped", 8039, "", 0, "b")
}

public c4glow(){
    c4 = find_ent_by_model(c4, "grenade", "models/w_c4.mdl")
    --thetime // countdown
    
    // Set colors for planted C4
    new Float:colors[3]
    if(thetime>=40){
    colors[0] = 0.0
    colors[1] = 128.0
    colors[2] = 0.0
    }
    else if(thetime>=35){
    colors[0] = 128.0
    colors[1] = 255.0
    colors[2] = 0.0
    }
    else if(thetime>=30){
    colors[0] = 255.0
    colors[1] = 255.0
    colors[2] = 128.0
    }
    else if(thetime>=25){
    colors[0] = 255.0
    colors[1] = 255.0
    colors[2] = 64.0
    }
    else if(thetime>=20){
    colors[0] = 255.0
    colors[1] = 128.0
    colors[2] = 0.0
    }
    else if(thetime>=10){
    colors[0] = 255.0
    colors[1] = 128.0
    colors[2] = 128.0
    }
    else if(thetime>=0){
    colors[0] = 255.0
    colors[1] = 0.0
    colors[2] = 0.0
    }
    
    // Apply colors
    entity_set_int(c4,EV_INT_rendermode,kRenderTransColor)
    entity_set_int(c4,EV_INT_renderfx,kRenderFxGlowShell)
    entity_set_vector(c4,EV_VEC_rendercolor,colors)
    entity_set_float(c4,EV_FL_renderamt,128.0) // ammout of glow, try 255.0 or 1.0 ;)

    if(thetime==0)
    remove_task(8038)
}

public c4glow_dropped(){
    c4 = find_ent_by_model(c4, "grenade", "models/w_c4.mdl")
    
    // Set colors for dropped C4 (red)
    new Float:colors[3]
    colors[0] = 255.0
    colors[1] = 0.0
    colors[2] = 0.0
    
    // Apply colors
    entity_set_int(c4,EV_INT_rendermode,kRenderTransColor)
    entity_set_int(c4,EV_INT_renderfx,kRenderFxGlowShell)
    entity_set_vector(c4,EV_VEC_rendercolor,colors)
    entity_set_float(c4,EV_FL_renderamt,128.0) // ammout of glow, try 255.0 or 1.0 ;)
}

#5
İstek konusu, @Mr.Commander adlı kullanıcı tarafından 1 saat içinde çözülmüştür.
İsteği çözdüğü için Mr.Commander Adlı kullanıcıya 1 rep puanı ve 1 yardım etme puanı otomatik olarak verilmiştir.
Mr.Commander Adlı kullanıcı sizin dışınızda toplam 66 kişiye yardım etmiştir.

Herhangi bir konuda hata olduğunu düşünüyorsanız destek sistemi üzerinden iletişim kurabilirsiniz.

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

Yorum yapmak için üye olmanız gerekiyor

ya da