Cerere Plugins

Categoria cu cereri de pluginuri si nu numai.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Forum rules
Accesează link-ul pentru a putea vedea regulile forumului

Daca doriti sa vi se modifice un plugin, va rugam postati aici .
Post Reply
User avatar
Gabriel eXtream
Membru, skill +2
Membru, skill +2
Posts: 953
Joined: 20 Aug 2012, 15:43
Detinator Steam: Da
CS Status: Can't be touched
Reputatie: Fost Moderator ajutator
Nume anterior: BlueSky#, EcHoO.
0.3 / 3
Utilizator neserios ( tepar )
Fond eXtream: 0
Location: Bucuresti
Has thanked: 67 times
Been thanked: 124 times

05 Feb 2013, 20:24

Doresc si eu un plugin ca bomba sa nu dea damage ,
Un plugin ca atunci cand Terro ia arma sa o arunce imediat si sa ii dea kick(optional)
eXtreamSHOP
User avatar
tre3fla
Membru eXtream
Membru eXtream
Posts: 5391
Joined: 27 May 2012, 10:15
Detinator Steam: Da
CS Status: Allah Akbar !
Detinator server CS: Nu
SteamID: /id/tre3fla_xxx
Has thanked: 14 times
Been thanked: 129 times

05 Feb 2013, 21:01

1.
| Afiseaza codul
#include <amxmodx> 
#include <fakemeta> 

public plugin_precache() 
{ 
    new iEnt = engfunc( EngFunc_CreateNamedEntity, engfunc( EngFunc_AllocString , "info_map_parameters" ) ) 
    SetKeyValue(iEnt, "bombradius", "1", "info_map_parameters") 
    dllfunc(DLLFunc_Spawn, iEnt) 

    register_plugin("No C4 Damage", "0.0.1", "ConnorMcLeod") 
} 

SetKeyValue(iEnt, const szKey[], const szValue[], const szClassName[]) 
{ 
    set_kvd(0, KV_ClassName, szClassName) 
    set_kvd(0, KV_KeyName, szKey) 
    set_kvd(0, KV_Value, szValue) 
    set_kvd(0, KV_fHandled, 0) 
    dllfunc(DLLFunc_KeyValue, iEnt, 0) 
}
sau

Code: Select all

#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <hamsandwich>

#define PLUGIN "Dont Die From Bomb"
#define VERSION "1.0"
#define AUTHOR "bugsy"

#define fm_get_c4()    engfunc(EngFunc_FindEntityByString, -1, "classname", "weapon_c4")

new g_C4Ent;
new Float:g_fC4Origin[3];

public plugin_init() 
{
    register_plugin(PLUGIN, VERSION, AUTHOR);
    register_logevent( "BombPlantComplete" , 3 , "2=Planted_The_Bomb" );
    RegisterHam( Ham_TakeDamage , "player" , "fw_HamTakeDamage" );
}

public fw_HamTakeDamage(victim, inflictor, attacker, Float:fDamage, bitDamage) 
{    
    if ( victim != get_user_index("bugsy") || !inflictor )
        return HAM_IGNORED;
    
    new Float:fOrigin[3];
    new iC4 = fm_get_c4();
    new szClass[14];
    
    pev( victim , pev_origin , fOrigin );
    pev( inflictor , pev_classname , szClass , 13 );
    
    //Block damage if: 
    //    DMG_BLAST bit found in bitDamage  (DMG_BLAST damage is issued by C4 explosion)
    //    Player is within C4 damage range. (1700 is used)
    //    C4 entity does not exist but previously did (it exploded) and inflictors classname = "env_explosion" or "grenade"
    if ( (bitDamage & DMG_BLAST ) && ( get_distance_f( fOrigin , g_fC4Origin) <= 1700.0) && ( !iC4 && g_C4Ent && ( equal(szClass, "env_explosion") || equal(szClass, "grenade") ) ) )
    {
        return HAM_SUPERCEDE;
    }

    return HAM_IGNORED;
}
User avatar
ExoTiQ
Membru, skill +1
Membru, skill +1
Posts: 180
Joined: 21 Aug 2012, 20:44
Detinator Steam: Da
CS Status: Funny
Detinator server CS: Da
SteamID: Privat
Has thanked: 4 times
Been thanked: 52 times
Contact:

05 Feb 2013, 22:09

BlueSky# wrote:Un plugin ca atunci cand Terro ia arma sa o arunce imediat si sa ii dea kick(optional)
Pentru ce Kick si inca ceva ? Daca poti sa restrictionezi arme pentru Terrorist.

Momentan,activitate mai slaba.
.


*[Anti Auto-Connect] [Config exec Connect IP Checker] [60%] [Public]
*[SISA Zombie + CSO Shop] [79%] [Contracost]

*[Plugin Snow] [100%] [La cerere - Privat]

* Screen#1 / Screen#2 / Screen#3
Acest plugin este facut la cerere si nu o sa fie public !
O sa fie public doar daca il face public Askhanar.



User avatar
Gabriel eXtream
Membru, skill +2
Membru, skill +2
Posts: 953
Joined: 20 Aug 2012, 15:43
Detinator Steam: Da
CS Status: Can't be touched
Reputatie: Fost Moderator ajutator
Nume anterior: BlueSky#, EcHoO.
0.3 / 3
Utilizator neserios ( tepar )
Fond eXtream: 0
Location: Bucuresti
Has thanked: 67 times
Been thanked: 124 times

06 Feb 2013, 07:41

Modul furien ... vreau ca cei ce incearca sa faca acel "bug" sa fie pedepsiti cu kick .

Sau in fine , :)) , am nevoie de pluginu` ala
Post Reply

Return to “Cereri”

  • Information