Sari la conținut
Te interesează acest produs?:
justMe.

[Mega Packet] Plugin-uri Mod Furien

Postări Recomandate

ARME ANTI-FURIEN

Descriere: Un plugin facut de hades si modificat de mine

Descarcare:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Nume: Arme Furien
Versiune: 1.0
Link oficial: --

Instalare:
1. Fisierele din folderul scripting le puneti in addons/amxmodx/scripting
2. Fisierele din folderul plugins le puneti in addons/amxmodx/plugins
3. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma:
Code:
arme.amxx
balrog3.amxx
balrog11.amxx
cannon.amxx
Firecracker.amxx
gatling.amxx
oicw.amxx
thunderbolt.amxx

 

135HP PENTRU CT

Descriere: Un plugin care adauga la ct 135hp

Descarcare

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

il compilati voi.
Nume: 135hp
Versiune: 1.0
Link oficial: --

Instalare:
1. Salvati fisierul ca nume_plugin.sma il puneti in addons/amxmodx/scripting
2. Fisierul cu numele care l-ati pus (ex:nume_plugin.amxx) il puneti in addons/amxmodx/plugins
3. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma:
Code:
numele_pluginuluicarelatipus.amxx

 

Credite

Descriere: Un plugin cu banca

Descarcare

Spoiler

 

#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fakemeta>

#define PLUGIN  "Depozit Mooney"
#define AUTHOR  "Aragon*"
#define VERSION "1.0"

new PlayerCredits[33];
new File[128], SymbolsName;

public plugin_init() {      
    register_plugin( PLUGIN, VERSION, AUTHOR );
    register_forward(FM_ClientUserInfoChanged, "ChangeName");
    SymbolsName = register_cvar("fr_name_symbols", "~`");     //| Symbols Name Restricted |//    
    
    register_clcmd("say", "Check");
    register_clcmd("say_team", "Check");
    register_clcmd("depozit","Depozit")
    register_clcmd("say /depozit","Depozit")
    register_clcmd("say_team /depozit","Depozit")
    register_clcmd("retrage","Retrage")
    register_clcmd("say /retrage","Retrage")
    register_clcmd("say_team /retrage","Retrage")
    register_clcmd("credits","Show_Credits")
    register_clcmd("credite","Show_Credits")
    register_clcmd("say /credits","Show_Credits")
    register_clcmd("say /credite","Show_Credits")
    register_clcmd("say_team /credits","Show_Credits")
    register_clcmd("say_team /credite","Show_Credits")
    register_clcmd("say /give", "GiveCredits");
    
    register_concmd("amx_give_credits", "Give_Credits", ADMIN_CVAR, "Name/@T/@CT/@All -> Amount");
    register_concmd("amx_reset_credits", "Reset_Credits", ADMIN_CVAR, "Name/@T/@CT/@All");
    
    new DataDir[64]
    get_datadir(DataDir, 63)
    format(File, 127, "%s/FurienCredits.dat", DataDir)
    
}
public plugin_natives() {
    register_native("set_user_credits", "set_user_credits", 1);
    register_native("get_user_credits", "get_user_credits", 1);
}

public client_putinserver(id) {
    LoadCredits(id)
    set_task(1.0, "showinfo", id, _, _, "b")
    set_task(300.0, "unminut", id, _, _, "b")
}

public unminut(id) {
    
    PlayerCredits[id] += 2
    ColorChat(id, "Ai primit 2 credite pentru ca ai jucat 5 minute pe server !")
    ColorChat(id, "Joaca in continuare si vei primi inca 2 credite la 5 minute jucate !")
    
}


public showinfo(id) {
        new hp = get_user_health(id)
        new ap = get_user_armor(id)
        new credit = PlayerCredits[id]
        set_hudmessage(180, 50, 255, 0.27, 0.87, 0, 6.0, 1.0)
        show_hudmessage(id, "HP: %d^n AP: %d^n Credite: %d^",hp,ap,credit)    
}

public set_user_credits(id, credits) {
    PlayerCredits[id] = credits;
    
    SaveCredits(id)
}
public get_user_credits(id) {
    return PlayerCredits[id]
}


//------| Change Name |------//
public ChangeName(id, buffer) {
    if(!is_user_connected(id))
        return FMRES_IGNORED;
    
    static Name[32], Val[32];
    get_user_name(id, Name, sizeof Name - 1);
    engfunc(EngFunc_InfoKeyValue, buffer, "name", Val, sizeof Val - 1);
    
    if(equal(Val, Name))
        return FMRES_IGNORED;
    
    set_task(0.2, "client_connect", id);
    return FMRES_SUPERCEDE;
}

//------| Client connect |------//    
public client_connect(id) {
    static sName[32];
    get_user_name(id, sName, sizeof sName - 1);
    static sChars[32];
    get_pcvar_string(SymbolsName, sChars, sizeof sChars - 1);    
    for(new i = 0 ; i < strlen(sName) ; i++) {
        for(new j = 0 ; j < strlen(sChars) ; j++) {
            if(sName == sChars[j]) {
                server_cmd("kick #%d ^"Numele tau contine caractere nepermise.^"", get_user_userid(id));
                break;
            }
            else {
                LoadCredits(id);
            }
        }
    }
}

public Depozit(id) {
    if(cs_get_user_money(id) >= 16000) {
        ColorChat(id, "!x03[Depozit]!x04 Ai depozitat!x03 16000$!x04 is ai primit!x03 1!x04 credit.");
        set_user_credits(id, get_user_credits(id) + 1);
        cs_set_user_money(id, cs_get_user_money(id) - 16000);
    }
    else {
        ColorChat(id, "!x03[Depozit]!x04 Iti trebuie!x03 16000$!x04 pentru a putea depozita.");    
    }
    return PLUGIN_HANDLED;
}

public Retrage(id) {
    if(cs_get_user_money(id) >= 16000) {
        ColorChat(id, "!x03[Depozit]!x04 Ai deja!x03 16000$.");
    }
    else if(PlayerCredits[id]) {
        ColorChat(id, "!x03[Depozit]!x04 Ai retras!x03 1!x04 credit din depozit, ai primit!x03 16000$.");
        set_user_credits(id, get_user_credits(id) - 1);
        cs_set_user_money(id, cs_get_user_money(id) + 16000);
    }
    else {
        ColorChat(id, "!x03[Depozit]!x04 Iti trebuie!x03 1 credit!x04 pentru a putea retrage.");    
    }
    return PLUGIN_HANDLED;
}

public Check(id) {
    static Args[32]
    
    read_args(Args, sizeof(Args) - 1);
    remove_quotes(Args);
    
    if(equal(Args, "/give", 5)) {
        replace(Args, sizeof(Args) - 1, "/", "");
        client_cmd(id, "amx_%s", Args);
    }
    
    return PLUGIN_CONTINUE;
}

public GiveCredits(id) {
    new Arg1[32], Arg2[6];
    
    read_argv(1, Arg1, 31);
    read_argv(2, Arg2, 5);
    
    new Target = cmd_target(id, Arg1, 8);
    new Ammount = str_to_num(Arg2);
    
    if(Target == id) {
        ColorChat(id, "!x03Nu poti sa-ti dai credite tie");
    }
    else if(!Target) {
        ColorChat(id, "!x03Acest user nu exista");
    }
    
    else if(Ammount <= 0) {
        ColorChat(id, "!x03Nu poti sa dai o suma negativa sau egala cu 0");
    }
    else if(Ammount > get_user_credits(id)){
        ColorChat(id, "!x03Nu poti sa dai mai multe credite decat ai");
    }
    else {        
        new TargetName[32], Name[32];
        get_user_name(Target, TargetName, 31);
        get_user_name(id, Name, 31);
        
        set_user_credits(id, get_user_credits(id) -  Ammount)
        ColorChat(id, "!x03I-ai dat lui!x04 %s!x03 suma de!x04 %d$", TargetName, Ammount);
        
        set_user_credits(Target, get_user_credits(Target) + Ammount)
        ColorChat(Target, "!x03Ai primit de la !x04%s!x03 suma de!x04 %d$", Name, Ammount);
    }
}

public Show_Credits(id) {
    set_hudmessage(0, 128, 0, 0.03, 0.86, 2, 6.0, 5.0);
    show_hudmessage(id, "Ai %d Credite.", PlayerCredits[id]);
    ColorChat(id, "!x03[Depozit]!x04 Ai!x03 %d!x04 Credite.", PlayerCredits[id]);
    return PLUGIN_HANDLED;
}

public Give_Credits(id, level, cid) {
    if(!cmd_access(id, level, cid, 2)) {
        return PLUGIN_HANDLED;
    }
    new arg[23], gplayers[32], num, i, players, name[32];
    get_user_name(id, name, 31);
    read_argv(1, arg, 23);
    new give_credits[5];
    read_argv(2, give_credits, charsmax(give_credits));
    new Credits = str_to_num(give_credits);
    if(equali(arg, "@T")) {
        get_players(gplayers, num, "e", "TERRORIST");
        for(i = 0; i < num; i++) {
            players = gplayers;
            if(!is_user_connected(players))
                continue;
            set_user_credits(players, get_user_credits(players) + Credits);
        }
        switch(get_cvar_num("amx_show_activity")) {
            case 1: ColorChat(0, "!x03ADMIN!x04 give!x03 %i Credits!x04 to all!x03 Ts.", Credits);
                case 2: ColorChat(0, "!x03%s!x04 give!x03 %i Credits!x04 to all!x03 Ts.", name, Credits);
            }
    }
    else if(equali(arg, "@CT")) {
        get_players(gplayers, num, "e", "CT");
        for(i = 0; i < num; i++) {
            players = gplayers;
            if(!is_user_connected(players))
                continue;
            set_user_credits(players, get_user_credits(players) + Credits);
        }
        switch(get_cvar_num("amx_show_activity")) {
            case 1: ColorChat(0, "!x03ADMIN!x04 give!x03 %i Credits!x04 to all!x03 CTs.", Credits);
                case 2: ColorChat(0, "!x03%s!x04 give!x03 %i Credits!x04 to all!x03 CTs.", name, Credits);
            }
    }
    if(equali(arg, "@All")) {
        get_players(gplayers, num, "a");
        for(i = 0; i < num; i++) {
            players = gplayers;
            if(!is_user_connected(players))
                continue;
            set_user_credits(players, get_user_credits(players) + Credits);
        }
        switch(get_cvar_num("amx_show_activity")) {
            case 1: ColorChat(0, "!x03ADMIN!x04 give!x03 %i Credits!x04 to all!x03 Players.", Credits);
                case 2: ColorChat(0, "!x03%s!x04 give!x03 %i Credits!x04 to all!x03 Players.", name, Credits);
            }
    }
    new player = cmd_target(id, arg, 11);
    if(!player) {
        return PLUGIN_HANDLED;
    }
    set_user_credits(player, get_user_credits(player) + Credits);
    switch(get_cvar_num("amx_show_activity")) {
        case 1: ColorChat(player, "!x03ADMIN!x04 give your!x03 %i Credits.", Credits);
            case 2: ColorChat(player, "!x03%s!x04 give your!x03 %i Credits.", name, Credits);
        }
    return PLUGIN_HANDLED;
}

public Reset_Credits(id, level, cid) {
    if(!cmd_access(id, level, cid, 2)) {
        return PLUGIN_HANDLED;
    }
    new arg[23], gplayers[32], num, i, players, name[32];
    get_user_name(id, name, 31);
    read_argv(1, arg, 23);
    if(equali(arg, "@T")) {
        get_players(gplayers, num, "e", "TERRORIST");
        for(i = 0; i < num; i++) {
            players = gplayers;
            if(!is_user_connected(players))
                continue;
            set_user_credits(players, 0);
        }
        switch(get_cvar_num("amx_show_activity")) {
            case 1: ColorChat(0, "!x03ADMIN!x04 reset!x03 Credits!x04 to all!x03 Ts.");
                case 2: ColorChat(0, "!x03%s!x04 reset!x03 Credits!x04 to all!x03 Ts.", name);
            }
    }
    
    else if(equali(arg, "@CT")) {
        get_players(gplayers, num, "e", "CT");
        for(i = 0; i < num; i++) {
            players = gplayers;
            if(!is_user_connected(players))
                continue;
            set_user_credits(players, 0);
        }
        switch(get_cvar_num("amx_show_activity")) {
            case 1: ColorChat(0, "!x03ADMIN!x04 reset!x03 %i Credits!x04 to all!x03 CTs.");
                case 2: ColorChat(0, "!x03%s!x04 reset!x03 %i Credits!x04 to all!x03 CTs.", name);
            }
    }
    if(equali(arg, "@All")) {
        get_players(gplayers, num, "a");
        for(i = 0; i < num; i++) {
            players = gplayers;
            if(!is_user_connected(players))
                continue;
            set_user_credits(players, 0);
        }
        switch(get_cvar_num("amx_show_activity")) {
            case 1: ColorChat(0, "!x03ADMIN!x04 reset!x03 Credits!x04 to all!x03 Players.");
                case 2: ColorChat(0, "!x03%s!x04 resetx03 Credits!x04 to all!x03 Players.", name);
            }
    }
    new player = cmd_target(id, arg, 11);
    if(!player) {
        return PLUGIN_HANDLED;
    }
    set_user_credits(player, 0);
    switch(get_cvar_num("amx_show_activity")) {
        case 1: ColorChat(player, "!x03ADMIN!x04 reset your!x03 Credits.");
            case 2: ColorChat(player, "!x03%s!x04 reset your!x03 Credits.", name);
        }
    return PLUGIN_HANDLED;
}

//------| Save Credits |------//
public SaveCredits(id) {
    new Name[32];
    get_user_name(id, Name, 31);
    
    static Data[1024]
    formatex(Data, sizeof(Data) - 1, "^"%i^"", PlayerCredits[id])
    
    new Save[512]
    format(Save, 511, "^"%s^" %s", Name, Data)
    
    new Line[128], Linie, IsPlayer = false, Arg1[32]
    
    new FileOpen = fopen(File, "rt")
    while(!feof(FileOpen)) {
        fgets(FileOpen, Line, 127)
        trim(Line)
        
        parse(Line, Arg1, 31)
        
        if (equali(Arg1, Name)) {
            write_file(File, Save, Linie)
            IsPlayer = true
            break
        }
        
        Linie++
    }
    fclose(FileOpen)
    if (!IsPlayer) {
        write_file(File, Save, -1)
    }
}

//------| Loading Credits |------//
public LoadCredits(id) {
    new Name[32];
    get_user_name(id, Name, 31);
    
    new Line[128], IsPlayer = false, Arg1[32], Arg2[32];
    
    new FileOpen = fopen(File, "rt")
    while(!feof(FileOpen)) {
        fgets(FileOpen, Line, 127)
        trim(Line)
        
        parse(Line, Arg1, 31, Arg2, 31)
        
        if (equali(Arg1, Name)) {
            PlayerCredits[id] = str_to_num(Arg2)
            IsPlayer = true
            break
        }
    }
    fclose(FileOpen)
    
    if (!IsPlayer) {
        PlayerCredits[id] = 1
    }
}

stock ColorChat(const id, const input[], any:...) {
    new count = 1, players[32];
    static msg[191];
    vformat(msg, 190, input, 3);
    
    replace_all(msg, 190, "!x04", "^4");
    replace_all(msg, 190, "!x01", "^1");
    replace_all(msg, 190, "!x03", "^3");
    
    if(id) players[0] = id;
    else get_players(players, count, "ch"); {
        for(new i = 0; i < count; i++) {
            if(is_user_connected(players)) {
                message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players);
                write_byte(players);
                write_string(msg);
                message_end();
            }
        }
    } 
}

 

il compilati voi.
Nume: Credite
Versiune: 1.0
Link oficial: --

Instalare:
1. Salvati fisierul cu nume_plugin.sma il puneti in addons/amxmodx/scripting
2. Fisierul nume_plugin.sma il compilati , apoi nume_plugin.amxx il puneti in addons/amxmodx/plugins
3. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma:
| Ascunde codul
cenumeiatipusvoi.amxx

 

Efecte damage si death

Descriere: Un plugin cu efecte la damage si death

Descarcare: 

Spoiler

 

/* Plugin generated by AMXX-Studio */

#include < amxmodx >
#include < hamsandwich >

#pragma semicolon 1

#define PLUGIN "Damage & Death Effect"
#define VERSION "1.0"

#define EFFECT_LENGTH 3

new g_CvarDeath, g_CvarDamage;
new g_CvarDeathRed, g_CvarDeathGreen, g_CvarDeathBlue, g_CvarDeathAlpha;
new g_CvarDamageRed, g_CvarDamageGreen, g_CvarDamageBlue, g_CvarDamageAlpha;

public plugin_init( )
{
    register_plugin( PLUGIN, VERSION, "Cristi. C" );
    
    g_CvarDeath = register_cvar( "amx_killed_effect_on", "1" );
    g_CvarDamage = register_cvar( "damage_num", "60" );
    
    g_CvarDeathRed  = register_cvar( "death_color_r", "150" );
        g_CvarDeathGreen  =  register_cvar( "death_color_g", "0" );
        g_CvarDeathBlue =  register_cvar( "death_color_b", "0" );
    g_CvarDeathAlpha =  register_cvar( "death_alpha", "255" );
    
    g_CvarDamageRed  = register_cvar( "damage_color_r", "150" );
        g_CvarDamageGreen  =  register_cvar( "damage_color_g", "0" );
        g_CvarDamageBlue =  register_cvar( "damage_color_b", "0" );
    g_CvarDamageAlpha =  register_cvar( "damage_alpha", "125" );
    
    RegisterHam( Ham_TakeDamage, "player", "Ham_PlayerDamagePost", true );
    RegisterHam( Ham_Killed, "player", "Ham_PlayerKilledPost", true );
}

public Ham_PlayerKilledPost( victim, holdtime )
{
    if( !get_pcvar_num( g_CvarDeath ) )
        return 0;
        
    message_begin( MSG_ONE_UNRELIABLE, get_user_msgid( "ScreenFade" ), { 0, 0, 0 }, victim );
       write_short( 1 << 12 );
       write_short( 1 << 12 );
       write_short( 0 );
       write_byte( get_pcvar_num( g_CvarDeathRed ) );
       write_byte( get_pcvar_num( g_CvarDeathGreen ) );
       write_byte( get_pcvar_num( g_CvarDeathBlue ) );
       write_byte( get_pcvar_num( g_CvarDeathAlpha ) );
       message_end( );
    
    return 0;
}

public Ham_PlayerDamagePost( victim, inflictor, attacker, Float:damage, damage_type, holdtime )
{
    if ( ( victim != attacker ) && ( damage > get_pcvar_num( g_CvarDamage ) ) )
        return 0;
        
    message_begin( MSG_ONE_UNRELIABLE, get_user_msgid( "ScreenShake" ), { 0, 0, 0 }, victim );
    write_short( 1 << 14 );
    write_short( 1 << 14 );
    write_short( 1 << 14 );
    message_end( );
    
    message_begin( MSG_ONE_UNRELIABLE, get_user_msgid( "ScreenFade" ), { 0, 0, 0 }, victim );
       write_short( 1 << 12 );
       write_short( 1 << 12 );
       write_short( 0 );
       write_byte( get_pcvar_num( g_CvarDamageRed ) );
       write_byte( get_pcvar_num( g_CvarDamageGreen ) );
       write_byte( get_pcvar_num( g_CvarDamageBlue ) );
       write_byte( get_pcvar_num( g_CvarDamageAlpha ) );
       message_end( );
    
    return 0;
}

 

 

il compilati voi.
Nume: Efecte damage si moarte
Versiune: 1.0
Link oficiall: --

Instalare:
1. Salvati fisierul cu nume_plugin.sma il puneti in addons/amxmodx/scripting
2. Fisierul (ex:nume_plugin.sma il compilati) apoi fisierul nume_plugin.amxx il puneti in addons/amxmodx/plugins
3. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma:
Code:
cenumeiatipusvoi.amxx

 

Life shop

Descriere: Un plugin cu , care poti cumpara vieti

Descarcare

Spoiler

 

/*
*   Plugin facut la cerere , Forum : cereri-cs/idei-pluginuri-t24614-900.html
*    Plugin: Life-Shop
*    Versiunea: 1.0
*    Author: ExoTiQ
*
*    Multumesc lui Bos93 pentru o metoda noua.
*    Functia cu Anti-Change Nick am folosit de la spuf.
*    Am folosit alt Stock de culori pentru ca vechi facea probleme.
*/

#include < amxmodx >
#include < fakemeta >
#include < hamsandwich >
#include < nvault >

#define PLUGIN_NAME      "Life-Shop"
#define PLUGIN_VERSION   "1.0"
#define PLUGIN_AUTHOR   "ExoTiQ"

#define MAXPLAYERS             32
#define MAX_STATS_SAVED         64

#if cellbits ==                   32 
#define OFFSET_CSMONEY       115 
#else 
#define OFFSET_CSMONEY       140 
#endif 

#define OFFSET_LINUX             5

#define LIFE_COST               8000
#define LIFE_SELL               5000
#define LIFE_LIMIT               50

new g_Life[ MAXPLAYERS + 1 ]
new gName[ MAXPLAYERS ]
new vKey[ MAX_STATS_SAVED ]
new vData[ MAX_STATS_SAVED ]

new gVault

public plugin_init ( )
{
   register_plugin ( PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR )
   
   register_event( "DeathMsg", "EV_DeathMsg", "a" )
   register_forward(FM_ClientUserInfoChanged, "fwClientUserInfoChanged");
   register_clcmd("say /vieti", "Life_Shop")
   register_clcmd("say /life", "Life_Shop")
}

public client_connect( id )
   load_client_Life( id )

public client_disconnect( id )
   save_client_Life( id )

   
public EV_DeathMsg() {
   new iVictim = read_data( 2 );
   new iTeam = get_user_team( iVictim );
   new iKiller = read_data( 1 );
   
   if( iKiller != iVictim && get_user_team(iKiller) != iTeam ) {
      Life_Shop( iVictim )
   }
   
}
public Life_Shop( id ) 
{
   new szText[ 1024 char ];
   
   formatex( szText, charsmax( szText ), "\yAveti\w: \r%d\y $^nAveti\w: \r%d\y vieti" ,fm_cs_get_user_money(id) , g_Life[id] );
   
   new menu = menu_create( szText, "Life_handler" );
   
   formatex( szText, charsmax( szText ), "Cumpara 1 viata \y-  \w%d\y $" ,LIFE_COST);
   menu_additem( menu, szText, "1", 0 );
   
   
   formatex( szText, charsmax( szText ), "Vinde 1 viata \y+ \w%d\y $" ,LIFE_SELL);
   menu_additem( menu, szText, "2", 0 );
   
   formatex( szText, charsmax( szText ), "Foloseste \y- \r1\w Viata" );
   menu_additem( menu, szText, "3", 0 );
   
   menu_setprop(menu, MPROP_EXITNAME, "Iesire")
   
   menu_display(id, menu, 0)
}

public Life_handler (id , menu , item ) {
   
   if (item == MENU_EXIT)
   {
      menu_destroy(menu)
      return PLUGIN_HANDLED
   }
   
   new s_Data[6], s_Name[64], i_Access, i_Callback
   
   menu_item_getinfo(menu, item, i_Access, s_Data, charsmax(s_Data), s_Name, charsmax(s_Name), i_Callback)
   
   new i_Key = str_to_num(s_Data)
   
   
   new bani = fm_cs_get_user_money(id)
   
   switch(i_Key)
   {
      case 1:
      {
         if (bani < LIFE_COST)
         {
            Color_Print(id,  "!g[Life-Menu] !yNu ai destui bani pentru a cumpara !gviata." )            
            return PLUGIN_HANDLED
         }
         
         if ( g_Life[id] >= LIFE_LIMIT )
         {
            Color_Print(id,  "!g[Life-Menu] !yAi ajuns la limita !gmaxima." )
            return PLUGIN_HANDLED
         }
         
         Color_Print(id,  "!g[Life-Menu] !yAi cumparat !g1 Viata")
         
         g_Life[id] += 1
         
         fm_cs_set_user_money(id, bani - LIFE_COST)
         Life_Shop( id ) 
      }
      case 2:
      {
         if ( g_Life[id] == 0 )
         {
            Color_Print(id,  "!g[Life-Menu] !yNu ai nici o !gviata.")
            return PLUGIN_HANDLED
         }
         
         Color_Print(id,  "!g[Life-Menu] !yAi vandut !g1 Viata.")
         
         g_Life[id] -= 1
         
         fm_cs_set_user_money(id, bani + LIFE_SELL)
         Life_Shop( id ) 
      }
      case 3:
      {
         if ( is_user_alive( id ) )
         {
            Color_Print(id,  "!g[Life-Menu] !yTrebuie sa fii !gmort !y, pentru a folosit viata.")
            return PLUGIN_HANDLED
         }
         
         if ( g_Life[id] == 0 )
         {
            Color_Print(id,  "!g[Life-Menu] !yNu ai nici o !gviata.")
            return PLUGIN_HANDLED
         }
         
         g_Life[id] -= 1
         
         Color_Print(id,  "!g[Life-Menu] !yAi folosit !g1 viata si ai primit !grespawn.")
         
         ExecuteHam(Ham_CS_RoundRespawn, id)
      }
   }
   menu_destroy(menu)
   return PLUGIN_HANDLED
}
stock save_client_Life( index )
{
   gVault = nvault_open( "Life_Save" )
   
   if( gVault == INVALID_HANDLE )
   {
      set_fail_state( "[Life-Shop] nValut ERROR: =-> Invalid-Handle" )
   }
   
   get_user_name( index, gName, charsmax( gName ) )
   //get_user_name(index,gName,32);
   
   formatex( vKey, charsmax( vKey ), "%sLife",gName )
   formatex( vData, charsmax( vData ), "%d", g_Life[ index ] )
   nvault_set( gVault, vKey, vData )
   nvault_close( gVault )
}

stock load_client_Life( index )
{
   gVault = nvault_open( "Life_Save" )
   
   if( gVault == INVALID_HANDLE )
   {
      set_fail_state( "[Life-Shop] nValut ERROR: =-> Invalid-Handle" )
   }
   
   get_user_name( index, gName, charsmax( gName ) )
   //get_user_name(index,gName,32);
   
   formatex( vKey, charsmax( vKey ), "%sLife",gName )
   g_Life[ index ] = nvault_get( gVault, vKey )
   nvault_close( gVault )
}

 public fwClientUserInfoChanged(id, buffer) {
   if (!is_user_connected(id)) {
      return FMRES_IGNORED;
   }
   static val[32];
   static name[32];
   get_user_name(id, name, 31);
   engfunc(EngFunc_InfoKeyValue, buffer, "name", val, sizeof val- 1);
   if (equal(val, name)) {
      return FMRES_IGNORED;
   }
   engfunc(EngFunc_SetClientKeyValue, id, buffer, "name", name);
   Color_Print(id,  "!g[Life-Menu] !teamNU este permisa schimbarea nick-ului pe server !")
   console_print(id,"NU este permisa schimbarea nick-ului pe server !");
   return PLUGIN_HANDLED;
}


stock fm_cs_set_user_money(id, money, flash = 1) 

   set_pdata_int(id, OFFSET_CSMONEY, money, OFFSET_LINUX)
   
   message_begin(MSG_ONE, get_user_msgid("Money"), {0,0,0}, id)
   write_long(money)
   write_byte(flash)
   message_end()
}

stock fm_cs_get_user_money(id) 
   return get_pdata_int(id, OFFSET_CSMONEY, OFFSET_LINUX)


stock Color_Print(const id, const input[], any:...)
{
   new count = 1, players[32]
   static msg[191]
   vformat(msg, 190, input, 3)
   
   replace_all(msg, 190, "!g", "^4") // Green Color
   replace_all(msg, 190, "!y", "^1") // Default Color
   replace_all(msg, 190, "!team", "^3") // Team Color
   
   if (id) players[0] = id; else get_players(players, count, "ch")
        {    
   for (new i = 0; i < count; i++)
   {
      if (is_user_connected(players))
      {
         message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players)
         write_byte(players);
         write_string(msg);
         message_end();
      }
   }
}
}

 

 

il compilati voi

Nume: Life Shop
Versiune: 1.0
Link oficial: --

Instalare:
1. Salvati fisierul cu un nume dorit..nume_plugin.sma il puneti in addons/amxmodx/scripting
2. Fisierul (ex:nume_plugin.sma il compilati) iar apoi fisierulnume_plugin.amxx il puneti in addons/amxmodx/plugins
3. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma:
Code:
cenumeiatipusvoi.amxx

 

FURIEN win messages

Descriere: Un plugin care va arata la sfarsit de runda cine a castigat

Descarcare

Spoiler

 

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Jail Break: Kto wygral"
#define VERSION "1.0"
#define AUTHOR "Sn!ff3r"

public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
    register_message(get_user_msgid("TextMsg") ,"message_TextMsg")
}

public message_TextMsg( const MsgId, const MsgDest, const MsgEntity )
{    
    static message[32]
    get_msg_arg_string(2, message, charsmax(message))
    
    if(equal(message, "#Terrorists_Win"))
    {
        set_msg_arg_string(2, "Furienii au castigat")
    }
    else if(equal(message, "#CTs_Win"))
    {
        set_msg_arg_string(2, "AntiFurienii au castigat")
    }
}

 

 

il compilati voi
Nume: Furien win teams
Versiune: 1.0
Link oficial: --

Instalare:
1. Salvati fisierul cu nume_plugin.sma si il puneti in addons/amxmodx/scripting
2. Fisierul nume_plugin.sma il compilati iar apoi fisierul nume_plugin.amxx il puneti in addons/amxmodx/plugins
3. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma:
Code:
cenumeiatipusvoilafisier.amxx

 

Furien FirstKill

Descriere: Un plugin care da bonusuri la primul kill facut de la fiecare team

Descarcare: 

Spoiler

/


* Plugin generated by AMXX-Studio */

#include < amxmodx >
#include < cstrike >

#define PLUGIN "FirstKill Bonuses"
#define VERSION "1.0"

enum
{
    TERRO_KILL,
    CT_KILL,
    
    MAX_KILLS
}

new g_iFirstKillMoney[ MAX_KILLS ];
new bool:g_bFirstKillWasMade[ MAX_KILLS ];

new SyncHudMessage;
new g_iMaxPlayers;

public plugin_init( )
{
    register_plugin( PLUGIN, VERSION, "Askhanar" );
    
    register_event(  "HLTV",  "ev_NewRound",  "a",  "1=0",  "2=0"  );
    register_event(  "DeathMsg",  "ev_DeathMsg",  "a"  );
    
    // --| Banii primiti pentru fiecare first kill.
    g_iFirstKillMoney[ TERRO_KILL ] = 1500;        // --| FirstKill de la TERO
    g_iFirstKillMoney[ CT_KILL ] = 2000;        // --| FirstKill de la CT
    
    g_bFirstKillWasMade[ TERRO_KILL ] = false;
    g_bFirstKillWasMade[ CT_KILL ] = false;
    
    SyncHudMessage = CreateHudSyncObj( );
    g_iMaxPlayers = get_maxplayers( );
    // Add your code here...
}

public ev_NewRound( )
{
    g_bFirstKillWasMade[ TERRO_KILL ] = false;
    g_bFirstKillWasMade[ CT_KILL ] = false;
    
}

public ev_DeathMsg( )
{    
    
    static iKiller, iVictim;
    iKiller = read_data( 1 );
    iVictim = read_data( 2 );
    
    
    if( ( 1 <= iKiller <= g_iMaxPlayers ) && iKiller != iVictim )
    {
        
        if(  cs_get_user_team( iKiller ) == CS_TEAM_T && !g_bFirstKillWasMade[ TERRO_KILL ] )
        {
            g_bFirstKillWasMade[ TERRO_KILL ] = true;
            cs_set_user_money( iKiller, clamp( cs_get_user_money( iKiller ) + g_iFirstKillMoney[ TERRO_KILL ], 0, 16000 ), 1 );
            
            static szKillerName[ 32 ], szVictimName[ 32 ];
            
            get_user_name( iKiller, szKillerName, sizeof ( szKillerName ) -1 );
            get_user_name( iVictim, szVictimName, sizeof ( szVictimName ) -1 );
            
            set_hudmessage( 0, 255, 255, -1.0, 0.30, 0, 0.0, 4.5, 0.0, 0.0, -1 );
            ShowSyncHudMsg( 0, SyncHudMessage, "[T] %s a facut primul frag pe %s^n si a primit bonus %i$ !",
                    szKillerName, szVictimName, g_iFirstKillMoney[ TERRO_KILL ] );
            
        }
        
        else if(  cs_get_user_team( iKiller ) == CS_TEAM_CT && !g_bFirstKillWasMade[ CT_KILL ] )
        {
            g_bFirstKillWasMade[ CT_KILL ] = true;
            cs_set_user_money( iKiller, clamp( cs_get_user_money( iKiller ) + g_iFirstKillMoney[ CT_KILL ], 0, 16000 ), 1 );
            
            static szKillerName[ 32 ], szVictimName[ 32 ];
            
            get_user_name( iKiller, szKillerName, sizeof ( szKillerName ) -1 );
            get_user_name( iVictim, szVictimName, sizeof ( szVictimName ) -1 );
            
            set_hudmessage( 0, 255, 255, -1.0, 0.30, 0, 0.0, 4.5, 0.0, 0.0, -1 );
            ShowSyncHudMsg( 0, SyncHudMessage, "[CT] %s a facut primul frag pe %s^n si a primit bonus %i$ !",
                    szKillerName, szVictimName, g_iFirstKillMoney[ CT_KILL ] );
            
        }
        
    }
    
}

 

il compilati voi.

Nume: Firstkill
Versiune: 1.0
Link oficial: --

Instalare:
1. Salvati fisierul cu nume nume_plugin.sma il puneti in addons/amxmodx/scripting
2. Fisierul nume_plugin.sma il compilati si dupaia fisierul nume_plugin.amxx il puneti in addons/amxmodx/plugins
3. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma:
Code:
cenumeiatipusvoi.amxx

 

FURIEN XMAS GIFTS

Descriere: Un plugin care pune cadouri de craciun pe mapa

Descarcare:  

Spoiler


 

 

il compilati voi.
Download resurse:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Nume: Furien xmas gifts
Versiune: 1.0
Link oficial: --

Instalare:
1. Salvati fisierul ca nume_plugin.sma il puneti in addons/amxmodx/scripting
2. Fisierul cu numele care l-ati pus (ex:nume_plugin.amxx) il puneti in addons/amxmodx/plugins
3. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma:
Code:
numele_pluginuluicarelatipus.amxx

 

Furien Bonus Box

Descriere: Un plugin cu bonus box pentru furienDescriere:

Descarcare:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Nume: Furien Bonus Box
Versiune: 1.0
Link oficial: --

Instalare:
1. Fisierul bonus_box.sma il puneti in addons/amxmodx/scripting
2. Fisierul bonus_box.amxx) il puneti in addons/amxmodx/plugins
3. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma:
Code:
bonus_box.amxx

 

Partajează acest post


Link spre post
Distribuie pe alte site-uri
Te interesează acest produs?:

Creează un cont sau autentifică-te pentru a adăuga comentariu

Trebuie să fi un membru pentru a putea lăsa un comentariu.

Creează un cont

Înregistrează-te pentru un nou cont în comunitatea nostră. Este simplu!

Înregistrează un nou cont

Autentificare

Ai deja un cont? Autentifică-te aici.

Autentifică-te acum

×