PHP- Kodu:
  /* Plugin generated by ds811888 */
 
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>
 
#define PLUGIN "Counter-Strike Impulse 101"  
#define VERSION "1.1"  
#define AUTHOR "ds811888"  
 
new cvar_enabled, cvar_buycost
 
public plugin_init()
{
    register_plugin(PLUGIN, VERSION, AUTHOR)
 
    /* Commands */
    register_clcmd("say /buy_impulse101", "cmd_buyimpulse")
    register_clcmd("say buy_impulse101", "cmd_buyimpulse")
 
    /* Admin Commands */
    register_concmd("amx_giveimpulse", "cmd_giveimpulse", ADMIN_BAN, "<name>")
 
    /* Cvars */
    cvar_enabled         = register_cvar("amx_buyimpulse",         "1")
    cvar_buycost         = register_cvar("amx_impulse_cost",     "16000")
 
    /* Language */
    register_dictionary("cs_impulse101.txt")
}
 
/* Admin Commands: amx_giveimpulse */
public cmd_giveimpulse(id,level,cid)
{
    /* Check user admin */
    if (!cmd_access(id,level,cid,2))
        return PLUGIN_HANDLED;
 
    new arg[32];
    read_argv(1,arg,31);
    
    new player = cmd_target(id,arg,7);
    if (!player) 
        return PLUGIN_HANDLED;
    
    new name[32];
    get_user_name(player,name,31);
 
        /* Check user alive */
        if(!is_user_alive(player))
            return PLUGIN_HANDLED  
 
    /* Give user full weapons, full ammo, and full items */
    give_full_weapons(player)
    give_full_ammo(player)
    give_full_items(player)  
    
    return PLUGIN_HANDLED
}
 
/* Commands: impulse 101 */
public cmd_buyimpulse(id)
{    
    if(get_pcvar_num(cvar_enabled))
    {
        new money = cs_get_user_money(id) 
        new price = get_pcvar_num(cvar_buycost)
 
        /* Check user alive */
        if(!is_user_alive(id))
            return PLUGIN_HANDLED
 
        /* Check user money */
        if(money <= price)
        {
            client_print(id, print_center, "[AMXX] %L", LANG_PLAYER, "NOT_ENOUGH_MONEY" , price)
        }
        else
        {
            /* -user money to buy a Impulse 101 */
            cs_set_user_money(id, money - price) 
 
            /* Client Print */
            client_print(id, print_center, "[AMXX] %L", LANG_PLAYER, "BOUGHT_IMPULSE")
 
        /* Give user full weapons, full ammo, and full items */
        give_full_weapons(id)
        give_full_ammo(id)
        give_full_items(id)
        }
    }
    return PLUGIN_HANDLED
}
 
stock give_full_weapons(id)
{
    /* Give all weapons */
    give_item(id,"weapon_usp")
    give_item(id,"weapon_glock18")
    give_item(id,"weapon_deagle")
    give_item(id,"weapon_p228")
    give_item(id,"weapon_elite")
    give_item(id,"weapon_fiveseven")
    give_item(id,"weapon_m3")
    give_item(id,"weapon_xm1014")
    give_item(id,"weapon_mp5navy")
    give_item(id,"weapon_tmp")
    give_item(id,"weapon_p90")
    give_item(id,"weapon_mac10")
    give_item(id,"weapon_ump45")
    give_item(id,"weapon_famas")
    give_item(id,"weapon_sg552")
    give_item(id,"weapon_ak47")
    give_item(id,"weapon_m4a1")
    give_item(id,"weapon_aug")
    give_item(id,"weapon_scout")
    give_item(id,"weapon_awp")
    give_item(id,"weapon_g3sg1")
    give_item(id,"weapon_sg550")
    give_item(id,"weapon_galil")
    give_item(id,"weapon_m249")
}
 
stock give_full_ammo(id)
{
    /* Give full ammo */
    cs_set_user_bpammo(id, CSW_P228, 52)        // ammo_357sig
    cs_set_user_bpammo(id, CSW_SCOUT, 90)        // ammo_762nato
    cs_set_user_bpammo(id, CSW_XM1014, 32)        // ammo_buckshot
    cs_set_user_bpammo(id, CSW_MAC10, 100)        // ammo_45acp
    cs_set_user_bpammo(id, CSW_AUG, 90)        // ammo_556nato
    cs_set_user_bpammo(id, CSW_ELITE, 120)        // ammo_9mm
    cs_set_user_bpammo(id, CSW_FIVESEVEN, 100)    // ammo_57mm
    cs_set_user_bpammo(id, CSW_AWP, 30)        // ammo_338magnum
    cs_set_user_bpammo(id, CSW_M249, 200)        // ammo_556natobox
    cs_set_user_bpammo(id, CSW_DEAGLE, 35)        // ammo_50ae
}
 
stock give_full_items(id)
{
    /* Give all items */
    cs_set_user_armor(id, 100, CS_ARMOR_VESTHELM)
 
    give_item(id,"weapon_flashbang")
    cs_set_user_bpammo(id, CSW_FLASHBANG, 2)
    give_item(id,"weapon_hegrenade")
    give_item(id,"weapon_smokegrenade")
 
    cs_set_user_nvg(id, 1) 
    give_item(id,"weapon_shield")
 
    /* if team terrorist */
    if(cs_get_user_team(id) == CS_TEAM_T)
    { 
               give_item(id, "weapon_c4")
               cs_set_user_plant(id, 1, 1)
    } else 
    { 
    /* if team ct */
               cs_set_user_defuse(id, 1)
    } 
} 
  
  Bu plugin sadece amx_giveimpulse nick şeklinde çalışıyor