广告广告
  加入我的最爱 设为首页 风格修改
首页 首尾
 手机版   订阅   地图  繁体 
您是第 1862 个阅读者
 
发表文章 发表投票 回覆文章
  可列印版   加为IE收藏   收藏主题   上一主题 | 下一主题   
asean75300
个人文章 个人相簿 个人日记 个人地图
小人物
级别: 小人物 该用户目前不上站
推文 x5 鲜花 x20
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片
推文 x0
[1.6] 问题X2
1.我看到了这个补给箱,http://bbs.mychat.to/reads.php?tid=856122
我其实只是想要用那个雷达图示,可是这样我要把原本的补给箱插件弄调,他里面的东西....
原本补给箱的内容:                                请帮我改成这样~谢谢!!

#include <amxmodx>
#include <cstrike>
#include <fun>
#include "dtgifts"

#define PLUGIN_NAME "DTGifts-补给箱礼物修改"
#define PLUGIN_VERSION "1.1"
#define PLUGIN_AUTHOR "ahcat"

public plugin_init()
{
        register_plugin( PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR);
   
        register_gift_l( "get_mp5", "WEAPON_GET_SOMEGUN", "WEAPON_GET_MP5", 80);
        register_gift_l( "get_sg552", "WEAPON_GET_SOMEGUN", "WEAPON_GET_SG552", 85);
        register_gift_l( "get_he", "WEAPON_GET_SOMEHE", "WEAPON_GET_HE", 95);
        register_gift_l( "get_elite", "WEAPON_GET_SOMEGUN", "WEAPON_GET_elite", 90);
}

public get_mp5( id)
{
        give_item( id, "weapon_mp5navy");
        give_item( id, "ammo_9mm");
        give_item( id, "ammo_9mm");
        give_item( id, "ammo_9mm");
}

public get_sg552(id)
{
       
        give_item( id, "weapon_sg552");
        give_item( id, "ammo_556nato");
        give_item( id, "ammo_556nato");
        give_item( id, "ammo_556nato");
}

public get_he(id)
{
        new n_currentHE =  cs_get_user_bpammo( id, CSW_HEGRENADE);
    if (n_currentHE == 0)
        give_item ( id, "weapon_hegrenade");
    else
               cs_set_user_bpammo( id, CSW_HEGRENADE, n_currentHE + 1);
   
    new n_currentFB =  cs_get_user_bpammo( id, CSW_FLASHBANG);
    if (n_currentFB == 0)
        give_item ( id, "weapon_flashbang");
    else
            cs_set_user_bpammo( id, CSW_FLASHBANG, n_currentFB + 2);
       
    new n_currentSM =  cs_get_user_bpammo( id, CSW_SMOKEGRENADE);
    if (n_currentSM == 0)
        give_item ( id, "weapon_smokegrenade");
    else
            cs_set_user_bpammo( id, CSW_SMOKEGRENADE, n_currentSM + 1);
}

public get_elite( id)
{
        give_item( id, "weapon_elite");
        give_item( id, "ammo_556nato");
        give_item( id, "ammo_556nato");
        give_item( id, "ammo_556nato");
}

请,谢谢!!

2.为什么我用4角转换的会不能用呢?        http://bbs.mychat.to/reads.php?tid=839512
F6我按没效耶!!表情
那X绑定见又是啥?表情

谢谢帮忙,我给花花好了表情



献花 x0 回到顶端 [楼 主] From:台湾中华电信 | Posted:2010-03-07 17:20 |
Equation02
个人头像
个人文章 个人相簿 个人日记 个人地图
初露锋芒
级别: 初露锋芒 该用户目前不上站
推文 x23 鲜花 x28
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片

第 1 个问题我不知道,
不过第 2 个问题应该是要在 Cs1.6\cstrike\addons\amxmodx\configs 中,
找一个叫 amxx.cfg 的档案,
拉到最下打上 bind F6 amx_view


献花 x1 回到顶端 [1 楼] From:未知地址 | Posted:2010-03-07 22:18 |

首页  发表文章 发表投票 回覆文章
Powered by PHPWind v1.3.6
Copyright © 2003-04 PHPWind
Processed in 0.014123 second(s),query:16 Gzip disabled
本站由 瀛睿律师事务所 担任常年法律顾问 | 免责声明 | 本网站已依台湾网站内容分级规定处理 | 连络我们 | 访客留言