搜索
查看: 4235|回复: 8

[AMXX 带源码] 【zp僵尸种类】狙击手僵尸

[复制链接]
发表于 2010-7-12 15:01:25 | 显示全部楼层 |阅读模式 来自 中国–湖北–十堰
就是这个僵尸持有AWP,开枪打人类,如果人类没护甲的话,中枪后直接变为僵尸!
压缩包内为源码,这个僵尸可以拿各种武器,自行修改!

本帖子中包含更多资源

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

×
发表于 2010-7-12 18:14:57 | 显示全部楼层 来自 中国–天津–天津
有这莫神奇?买了!
回复

使用道具 举报

发表于 2010-8-10 19:27:20 | 显示全部楼层 来自 中国–浙江–杭州
怎么用的啊
回复

使用道具 举报

发表于 2010-8-10 21:21:25 | 显示全部楼层 来自 中国–香港
用不著= = 片錢的
回复

使用道具 举报

发表于 2010-12-27 22:57:29 | 显示全部楼层 来自 中国–河北–石家庄
用不著= = 片錢的
回复

使用道具 举报

发表于 2011-2-1 11:50:28 | 显示全部楼层 来自 中国–广东–东莞
老兄别老是在外国官网上下载回来
  1. #include <amxmodx>
  2. #include <fakemeta>
  3. #include <zombieplague>
  4. #include <cstrike>
  5. #include <fun>

  6. new g_zclassid1, cvar_ammo, cvar_fov

  7. new const model_weapon_mac10[] = "models/v_mac10.mdl"

  8. new g_zombies_fov

  9. public plugin_init()
  10. {
  11.     register_plugin("[ZP] Class: Sniper Zombie", "0.3", "Zombie-rus")

  12.     cvar_ammo = register_cvar("zp_ammo_bullets", "0")
  13.     cvar_fov = register_cvar("zp_class_fov", "135")
  14. }

  15. public plugin_precache()
  16. {
  17.     g_zclassid1 = zp_register_zombie_class("Sniper Zombie", "has mac10+", "zombie_source", "v_knife_zombie.mdl", 590, 220, 1.0, 1.0)

  18.     engfunc(EngFunc_PrecacheModel, model_weapon_mac10)
  19. }


  20. public plugin_cfg()
  21. {
  22.     g_zombies_fov = get_cvar_pointer("zp_zombie_fov")
  23. }

  24. public zp_user_infected_post(id, infector)
  25. {
  26.     if (zp_get_user_zombie_class(id) == g_zclassid1)
  27.     {
  28.         strip_user_weapons(id)
  29.         give_item(id, "weapon_mac10")
  30.         cs_set_user_bpammo(id, CSW_MAC10, get_pcvar_num(cvar_ammo))

  31.         new weapon = get_user_weapon(id)

  32.         if (weapon == CSW_MAC10)
  33.         {
  34.             set_pev(id, pev_viewmodel2, model_weapon_mac10)
  35.         }

  36.         msg_one_unreliable(id)
  37.     }
  38. }

  39. public msg_one_unreliable(id)
  40. {
  41.     if (zp_get_user_zombie_class(id) == g_zclassid1)
  42.     {
  43.         message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SetFOV"), {0,0,0}, id)
  44.         write_byte(get_pcvar_num(cvar_fov))
  45.         message_end()
  46.     }
  47.     else
  48.     {
  49.         message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SetFOV"), {0,0,0}, id)
  50.         write_byte(g_zombies_fov) // fov angle
  51.         message_end()
  52.     }
  53. }  
复制代码
然后在DT上卖钱,官方水出你能发出来?大家去官网找一下就能找着很明显的,
回复

使用道具 举报

发表于 2011-3-16 10:53:38 | 显示全部楼层 来自 中国–广东–江门
盘前的吗?????????
回复

使用道具 举报

发表于 2011-9-20 22:29:36 | 显示全部楼层 来自 中国–云南–临沧
过于牛了点
回复

使用道具 举报

发表于 2012-7-2 15:24:46 | 显示全部楼层 来自 中国–江苏–无锡
支持原创!不错,看看源码吧,不是外网盗用的。
还汉化了,很好!
回复

使用道具 举报

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

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