搜索
查看: 3021|回复: 4

求弹道插件``

[复制链接]
发表于 2007-5-4 12:06:58 | 显示全部楼层 |阅读模式 来自 中国–广西–南宁
我去SIMEN问过了..他们说点通的插件比较齐全...谁可以发给我一个..我QQ215014462
就是开枪了有一条弹道跟着过去的那个
:cry: :cry: :cry: :cry: :cry:
发表于 2009-1-6 12:25:48 | 显示全部楼层 来自 中国–福建–莆田
:P同求,蛤
回复

使用道具 举报

发表于 2009-1-10 04:38:49 | 显示全部楼层 来自 中国–广东–广州–白云区
  1. #include <amxmodx>
  2. #include <csx>

  3. #define PLUGIN "Death HitPlace Details"
  4. #define VERSION "1.0"
  5. #define AUTHOR "Alka"

  6. new
  7. head_hit[32],
  8. chest_hit[32],
  9. leftarm_hit[32],
  10. rightarm_hit[32],
  11. leftleg_hit[32],
  12. rightleg_hit[32],
  13. stomach_hit[32],
  14. total_hits[32];

  15. new toggle_plugin;

  16. public plugin_init() {
  17.        
  18.         register_plugin(PLUGIN, VERSION, AUTHOR)
  19.        
  20.         register_logevent("round_start", 2, "1=Round_Start")
  21.        
  22.         toggle_plugin = register_cvar("amx_showhitplace","1")
  23. }

  24. public client_damage(attacker,victim,damage,weapon,hitplace,ta)
  25. {
  26.         if(!get_pcvar_num(toggle_plugin))
  27.                 return 1;
  28.        
  29.         if(hitplace == HIT_HEAD || hitplace == HIT_CHEST || hitplace == HIT_STOMACH || hitplace == HIT_LEFTARM || hitplace == HIT_RIGHTARM || hitplace == HIT_LEFTLEG || hitplace == HIT_RIGHTLEG)
  30.                 total_hits[victim] ++
  31.        
  32.         if(hitplace == HIT_HEAD)
  33.                 head_hit[victim] ++
  34.        
  35.         else if(hitplace == HIT_CHEST)
  36.                 chest_hit[victim] ++
  37.        
  38.         else if(hitplace == HIT_STOMACH)
  39.                 stomach_hit[victim] ++
  40.        
  41.         else if(hitplace == HIT_LEFTARM)
  42.                 leftarm_hit[victim] ++
  43.        
  44.         else if(hitplace == HIT_RIGHTARM)
  45.                 rightarm_hit[victim] ++
  46.        
  47.         else if(hitplace == HIT_LEFTLEG)
  48.                 leftleg_hit[victim] ++
  49.        
  50.         else if(hitplace == HIT_RIGHTLEG)
  51.                 rightleg_hit[victim] ++
  52.        
  53.         return 0;
  54. }

  55. public client_death(killer,victim,weapon,hitplace,tk)
  56. {
  57.         if(!get_pcvar_num(toggle_plugin))
  58.                 return 1;
  59.        
  60.         set_hudmessage(0, 255, 255, -1.0, -0.49, 0, 2.0, 5.0, 0.1, 0.1, -1)
  61.         show_hudmessage(victim, "(%d)^n--%d--[%d]--%d--^n[%d]^n%d %d^n_/  \_",head_hit[victim],leftarm_hit[victim],chest_hit[victim],rightarm_hit[victim],stomach_hit[victim],leftleg_hit[victim],rightleg_hit[victim])
  62.        
  63.         set_hudmessage(255, 25, 0, 0.45, 0.51, 0, 2.0, 5.0, 0.1, 0.1, -1)
  64.         show_hudmessage(victim,"Total Hits: %d",total_hits[victim])
  65.        
  66.         return 1;
  67. }

  68. public round_start()
  69. {
  70.         if(!get_pcvar_num(toggle_plugin))
  71.                 return 1;
  72.        
  73.         new players[32], num
  74.         get_players(players, num)
  75.        
  76.         new player
  77.         for(new i = 0; i < num; i++)
  78.         {
  79.                 player = players[i]
  80.                
  81.                 head_hit[player] = 0
  82.                 chest_hit[player] = 0
  83.                 stomach_hit[player] = 0
  84.                 leftarm_hit[player] = 0
  85.                 rightarm_hit[player] = 0
  86.                 leftleg_hit[player] = 0
  87.                 rightleg_hit[player] = 0
  88.                
  89.                 total_hits[player] = 0
  90.         }
  91.         return 1;
  92. }
复制代码
2# a188
cvar
amx_showhitplace 1(默认: 1 ) -1启用/0禁用插件。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注个册吧

×
回复

使用道具 举报

发表于 2009-1-10 10:31:49 | 显示全部楼层 来自 中国–广东–韶关
我去SIMEN问过了..他们说点通的插件比较齐全...谁可以发给我一个..我QQ215014462
就是开枪了有一条弹道跟着过去的那个
:cry: :cry: :cry: :cry: :cry:
hj881231 发表于 2007-5-4 12:06

找作弊器吧
回复

使用道具 举报

发表于 2009-3-8 02:27:24 | 显示全部楼层 来自 中国–湖南–衡阳
呵呵······搞笑··
回复

使用道具 举报

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

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