广告广告
  加入我的最爱 设为首页 风格修改
首页 首尾
 手机版   订阅   地图  繁体 
您是第 3141 个阅读者
 
<<   1   2  下页 >>(共 2 页)
发表文章 发表投票 回覆文章
  可列印版   加为IE收藏   收藏主题   上一主题 | 下一主题   
fuworm21so
个人文章 个人相簿 个人日记 个人地图
初露锋芒
级别: 初露锋芒 该用户目前不上站
推文 x5 鲜花 x20
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片
推文 x0
[CS1.6] 求幸存者击杀复仇者/复仇者击杀幸存者奖励弹药包.
求幸存者击杀复仇者/复仇者击杀幸存者奖励弹药包.

击杀时左下无线电说话那排黄色字会显示..

幸者存%s成功击杀复仇者%s 奖励%d弹药包..

类似这样的-    -有没有人会写?表情

谢谢


献花 x0 回到顶端 [楼 主] From:未知地址 | Posted:2010-05-01 10:13 |
yesterday00
个人文章 个人相簿 个人日记 个人地图
小人物
级别: 小人物 该用户目前不上站
推文 x0 鲜花 x16
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片

复制程式
 
#include <amxmodx>
#include <zombieplague>
public plugin_init()
{
   register_plugin("1.0", "1.0", "1.0")
   register_event("DeathMsg","death_msg","a", "1!0")
}

public death_msg()
{
    new Killer=read_data(1)
    new Victim=read_data(2)
    if(!is_user_connected(Killer) ||!is_user_connected(Victim))
         return PLUGIN_CONTINUE
    new Killer_name[32],Victim_name[32] , packs , packsadd
    get_user_name(Killer,Killer_name,31)
    get_user_name(Victim,Victim_name,31)
    packs = zp_get_user_ammo_packs(Killer)
    packsadd = 30
    if(zp_get_user_nemesis(Killer)&&zp_get_user_survivor(Victim))
    {
       zp_set_user_ammo_packs(Killer, packs+packsadd)
       client_print(0, print_chat ,"复仇者 %s 成功击杀幸者存 %s 奖励%d弹药包" , Killer_name , Victim_name , packsadd)
     }
    if(zp_get_user_nemesis(Victim)&&zp_get_user_survivor(Killer))
    {
       zp_set_user_ammo_packs(Killer, packs+packsadd)
       client_print(0 , print_chat ," 幸者存 %s 成功击杀复仇者 %s 奖励 %d 弹药包 " ,Killer_name,Victim_name, packsadd)
     }
    return PLUGIN_CONTINUE
}


献花 x2 回到顶端 [1 楼] From:未知地址 | Posted:2010-05-01 19:59 |
fuworm21so
个人文章 个人相簿 个人日记 个人地图
初露锋芒
级别: 初露锋芒 该用户目前不上站
推文 x5 鲜花 x20
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片

下面是引用 yesterday00 于 2010-05-01 19:59 发表的 : 到引言文
[code]
#include <amxmodx>
#include <zombieplague>
public plugin_init()
{
.......


感激你哦..表情 我送给你一支花


献花 x0 回到顶端 [2 楼] From:未知地址 | Posted:2010-05-01 21:40 |
fuworm21so
个人文章 个人相簿 个人日记 个人地图
初露锋芒
级别: 初露锋芒 该用户目前不上站
推文 x5 鲜花 x20
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片

下面是引用 yesterday00 于 2010-05-01 19:59 发表的 : 到引言文
[code]
#include <amxmodx>
.......


请问有什么方法可以吧
"复仇者 %s 成功击杀幸者存 %s 奖励%d弹药包"
"幸者存 %s 成功击杀复仇者 %s 奖励%d弹药包"
这两句显示出来的时候..是绿色的字体呢?


献花 x0 回到顶端 [3 楼] From:未知地址 | Posted:2010-05-01 21:51 |
oscarbox2001 手机 会员卡
个人文章 个人相簿 个人日记 个人地图
小有名气
级别: 小有名气 该用户目前不上站
推文 x48 鲜花 x297
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片

呵呵
你有在GGC玩吗?
如果有的话
可以联络我
来我伺服器看看是不是你想要的那个插件~


献花 x0 回到顶端 [4 楼] From:台湾中华电信 | Posted:2010-05-01 21:55 |
HsK 手机 会员卡
个人头像
个人文章 个人相簿 个人日记 个人地图
特殊贡献奖 优秀管理员勋章
头衔:CCN@HsKCCN@HsK
版主
级别: 版主 该用户目前不上站
版区: CS插件区
推文 x1701 鲜花 x1108
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片

下面是引用 fuworm21so 于 2010-05-01 21:51 发表的 : 到引言文
 

请问有什么方法可以吧
"复仇者 %s 成功击杀幸者存 %s 奖励%d弹药包"
"幸者存 %s 成功击杀复仇者 %s 奖励%d弹药包"
这两句显示出来的时候..是绿色的字体呢?

是不是这??

的 [zp]  绿色的字体呢?


HsK-Dev Blog By CCN
献花 x0 回到顶端 [5 楼] From:香港有线宽频 | Posted:2010-05-01 22:00 |
fuworm21so
个人文章 个人相簿 个人日记 个人地图
初露锋芒
级别: 初露锋芒 该用户目前不上站
推文 x5 鲜花 x20
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片

下面是引用 sk@.@ 于 2010-05-01 22:00 发表的 : 到引言文


是不是这?? 

的 [zp]  绿色的字体呢?


回:四楼你的IP是什么呢?..

回:5楼sk..

唔系哦-3-..我想改 例如你张图入边果句

你购买了一个盾牌 

我想将果句野改做绿色..表情


献花 x0 回到顶端 [6 楼] From:未知地址 | Posted:2010-05-01 22:16 |
HsK 手机 会员卡
个人头像
个人文章 个人相簿 个人日记 个人地图
特殊贡献奖 优秀管理员勋章
头衔:CCN@HsKCCN@HsK
版主
级别: 版主 该用户目前不上站
版区: CS插件区
推文 x1701 鲜花 x1108
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片

下面是引用 fuworm21so 于 2010-05-01 22:16 发表的 : 到引言文
 

回:四楼你的IP是什么呢?..

回:5楼sk..

唔系哦-3-..我想改 例如你张图入边果句

你购买了一个盾牌 

我想将果句野改做绿色..表情

复制程式
#include <amxmodx>
#include <zombieplague>
public plugin_init()
{
   register_plugin("1.0", "1.0", "1.0")
   register_event("DeathMsg","death_msg","a", "1!0")
}

public death_msg()
{
    new Killer=read_data(1)
    new Victim=read_data(2)
    if(!is_user_connected(Killer) ||!is_user_connected(Victim))
         return PLUGIN_CONTINUE
    new Killer_name[32],Victim_name[32] , packs , packsadd
    get_user_name(Killer,Killer_name,31)
    get_user_name(Victim,Victim_name,31)
    packs = zp_get_user_ammo_packs(Killer)
    packsadd = 30
    if(zp_get_user_nemesis(Killer)&&zp_get_user_survivor(Victim))
    {
       zp_set_user_ammo_packs(Killer, packs+packsadd)
       zp_colored_print(0, ^x04复仇者 %s 成功击杀幸者存 %s 奖励%d弹药包^x01" , Killer_name , Victim_name , packsadd)
     }
    if(zp_get_user_nemesis(Victim)&&zp_get_user_survivor(Killer))
    {
       zp_set_user_ammo_packs(Killer, packs+packsadd)
      zp_colored_print(0 , "^x04幸者存 %s 成功击杀复仇者 %s 奖励 %d 弹药包^x01 " ,Killer_name,Victim_name, packsadd)
     }
    return PLUGIN_CONTINUE
}

zp_colored_print(target, const message[], any:...)
{
 static buffer[512], i, argscount
 argscount = numargs()
  // Send to everyone
 if (!target)
 {
 static player
 for (player = 1; player <= g_maxplayers; player++)
 {
 // Not connected
 if (!g_isconnected[player])
 continue;
                     
 // Remember changed arguments
 static changed[5], changedcount // [5] = max LANG_PLAYER occurencies
 changedcount = 0
                     
 // Replace LANG_PLAYER with player id
 for (i = 2; i < argscount; i++)
 {
 if (getarg(i) == LANG_PLAYER)
 {
 setarg(i, 0, player)
 changed[changedcount] = i
 changedcount++
 }
 }
                     
 // Format message for player
 vformat(buffer, charsmax(buffer), message, 3)
                     
 // Send it
 message_begin(MSG_ONE_UNRELIABLE, g_msgSayText, _, player)
 write_byte(player)
 write_string(buffer)
 message_end()
                     
 // Replace back player id's with LANG_PLAYER
 for (i = 0; i < changedcount; i++)
 setarg(changed[i], 0, LANG_PLAYER)
 }
 }
 // Send to specific target
 else
 {
 /*
 // Not needed since you should set the ML argument
 // to the player's id for a targeted print message
  // Replace LANG_PLAYER with player id
 for (i = 2; i < argscount; i++)
 {
 if (getarg(i) == LANG_PLAYER)
 setarg(i, 0, target)
 }
 */
              
 // Format message for player
 vformat(buffer, charsmax(buffer), message, 3)
              
 // Send it
 message_begin(MSG_ONE, g_msgSayText, _, target)
 write_byte(target)
 write_string(buffer)
 message_end()
 }
}


[ 此文章被sk@.@在2010-05-01 22:27重新编辑 ]


HsK-Dev Blog By CCN
献花 x0 回到顶端 [7 楼] From:香港有线宽频 | Posted:2010-05-01 22:21 |
fuworm21so
个人文章 个人相簿 个人日记 个人地图
初露锋芒
级别: 初露锋芒 该用户目前不上站
推文 x5 鲜花 x20
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片

下面是引用 sk@.@ 于 2010-05-01 22:21 发表的 : 到引言文

[code]#include <amxmodx>
#include <zombieplague>
public plugin_init()
{
.......


哗@@唔该sk大..

原来要加咁多源码洛去..


献花 x0 回到顶端 [8 楼] From:未知地址 | Posted:2010-05-01 22:32 |
fuworm21so
个人文章 个人相簿 个人日记 个人地图
初露锋芒
级别: 初露锋芒 该用户目前不上站
推文 x5 鲜花 x20
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片

下面是引用 sk@.@ 于 2010-05-01 22:21 发表的 : 到引言文

[code]#include <amxmodx>
#include <zombieplague>
public plugin_init()
{
.......


转唔到档哦-3-..有错误..


献花 x0 回到顶端 [9 楼] From:未知地址 | Posted:2010-05-01 22:37 |

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