搜索
查看: 2434|回复: 7

好多高手都不知道怎么弄,谁帮帮我

[复制链接]
发表于 2008-8-23 16:04:57 | 显示全部楼层 |阅读模式 来自 中国–广东–深圳–福田区
玩家扔出烟雾弹就无线电就提示是[烟雾弹]。扔闪光弹就提示[闪光弹]。
而不是扔什么都提示:[小心手雷]

请在用什么插件,或者在哪里修改?谢谢~~~`
发表于 2008-8-23 16:15:38 | 显示全部楼层 来自 中国–广西–百色–田东县

回复: 好多高手都不知道怎么弄,谁帮帮我

Post by 8435015
玩家扔出烟雾弹就无线电就提示是[烟雾弹]。扔闪光弹就提示[闪光弹]。
而不是扔什么都提示:[小心手雷]

请在用什么插件,或者在哪里修改?谢谢~~~`
论坛有...............以后发表先搜索................................
回复

使用道具 举报

发表于 2008-8-23 16:34:43 | 显示全部楼层 来自 中国–辽宁–沈阳

回复: 好多高手都不知道怎么弄,谁帮帮我

好像是彩色对讲机有吧
不十分清楚,没多大用处的插件
回复

使用道具 举报

发表于 2008-8-24 09:00:37 | 显示全部楼层 来自 中国–广西–百色

回复: 好多高手都不知道怎么弄,谁帮帮我

很多地方有~~~~~~~~~
#include <amxmodx>
#include <amxmisc>
#include <Engine>
#define PLUGIN_NAME "New Plug-In"
#define PLUGIN_VERSION "1.0"
#define PLUGIN_AUTHOR "zwfgdlc"
public plugin_init()
{
register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR);
register_message(get_user_msgid("TextMsg"),"color_radio")
}
public color_radio(msgid, msgDest, msgEnt){
new argNum = get_msg_args()
if (argNum!=5) return PLUGIN_CONTINUE
if (get_msg_argtype(1)!=ARG_BYTE) return PLUGIN_CONTINUE
new arg1=get_msg_arg_int(1)
if (arg1!=5) return PLUGIN_CONTINUE
new arg3[256]
get_msg_arg_string(3,arg3,255)
if(equal(arg3,"#Game_radio")){
  new arg4[33],arg5[129]
  get_msg_arg_string(4,arg4,32)
  get_msg_arg_string(5,arg5,128)
  if(equal(arg5,"#Fire_in_the_hole")){
   return 1
  }
}
return PLUGIN_CONTINUE
}
public grenade_throw(id, greindex, wpnid)
{
new msg[64]
new thname[32]
new pindex[1]
pindex[0]=id
switch(wpnid)
{
  case CSW_HEGRENADE:
  {
   get_user_name(id,thname,31)
   format(msg,63,"^x03%s ^x01(对讲机):^x04 注意! 扔炸弹了!",thname)
  }
  case CSW_FLASHBANG:
  {
   get_user_name(id,thname,31)
   format(msg,63,"^x03%s ^x01(对讲机):^x04 注意! 扔闪光弹了!",thname)
  }
  case CSW_SMOKEGRENADE:
  {
   get_user_name(id,thname,31)
   format(msg,63,"^x03%s ^x01(对讲机):^x04 注意! 扔烟雾弹了!",thname)
  }
}
client_color(0,id,msg)
}
public client_color(playerid, colorid, msg[])
{
message_begin(playerid?MSG_ONE:MSG_ALL,get_user_msgid("SayText"),{0,0,0},playerid)
write_byte(colorid)
write_string(msg)
message_end()
}
回复

使用道具 举报

发表于 2008-8-24 09:01:59 | 显示全部楼层 来自 中国–广西–百色

回复: 好多高手都不知道怎么弄,谁帮帮我

自己再修改下就行了~~~~~~
回复

使用道具 举报

发表于 2008-8-24 11:54:00 | 显示全部楼层 来自 中国–重庆–重庆–永川区

回复: 好多高手都不知道怎么弄,谁帮帮我

感觉这个插件带来的没好处
反而太复杂
回复

使用道具 举报

发表于 2008-8-24 14:00:45 | 显示全部楼层 来自 中国–浙江–杭州

回复: 好多高手都不知道怎么弄,谁帮帮我

这个插件论坛确实有的,找一下.
回复

使用道具 举报

 楼主| 发表于 2008-8-27 15:11:48 | 显示全部楼层 来自 中国–广东–深圳–福田区

回复: 好多高手都不知道怎么弄,谁帮帮我

感谢提供信息。但我用了论坛里的代码来编译,在CS里显示不出来,是乱码。
有哪位好心人直接帮我生成一个插件。发给我34723890@qq.com.非常感激
回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表