玩家到一定的hp有呼吸声音
我好像记得有这个插件的但是不知道叫什么名字。很久以前的了,就是玩家差不多没hp的时候会有心跳声音呼吸声音这个的。就是一直在喘气那种声音。。如果哪个朋友有请上传一下。谢了。 用血腥插件改一下就可以了............... 心静如水 你帮我改一个上来嘛。。谢谢。。我都试了N次了。不行 1# jiajiazf拿去吧
內有原碼
請大家 節省使用
請珍重原碼 既然给 人家传了 干么还要钱啊?
还不如不传呢 不地道!! 收点钱应当的 别人的劳动成果:/f 收点钱应该的 别人的劳动成果
希望3块钱能找到自已想要的。。 回头再顶一个..呵呵..就是我想要那个效果。不错。。3块钱买的值。谢了。 /*================================================================================
---------------------------------
-*- 自定义插件:心跳 1.0 -*-
---------------------------------
~~~~~~~~~~~~~~~
- Description -
~~~~~~~~~~~~~~~
This plugin plays a heartbeat sound on humans when their health
is under certain amount.
~~~~~~~~~
- CVARS -
~~~~~~~~~
* zp_heartbeat_hp <50> - Heartbeats start when HP is lower than this
~~~~~~~~~~~~~~
- Credits to -
~~~~~~~~~~~~~~
* ConnorMcLeod, AlexBreems: for the original plugin
================================================================================*/
#include <amxmodx>
#include <zombieplague>
/*================================================================================
=================================================================================*/
// Sounds
new const g_heartbeat[] = "player/heartbeat1.wav"
/*============================================================================*/
new cvar_heartbeathp
public plugin_precache()
{
precache_sound(g_heartbeat)
}
public plugin_init()
{
register_plugin(" Low HP Heartbeat", "1.0", "ConnorMcLeod/MeRcyLeZZ")
register_event("Damage", "event_damage", "be", "2>0")
register_event("DeathMsg", "event_deathmsg", "a")
register_event("ResetHUD", "event_resethud", "be")
register_event("Spectator", "event_spectator", "a")
cvar_heartbeathp = register_cvar("zp_heartbeat_hp", "50")
}
public event_damage(id)
{
if (get_user_health(id) > get_pcvar_num(cvar_heartbeathp) || zp_get_user_zombie(id))
return;
emit_sound(id, CHAN_STATIC, g_heartbeat, 0.0, 0.0, SND_STOP, PITCH_NORM)
client_cmd(id, "spk %s", g_heartbeat)
}
public event_deathmsg()
{
emit_sound(read_data(2), CHAN_STATIC, g_heartbeat, 0.0, 0.0, SND_STOP, PITCH_NORM)
}
public event_resethud(id)
{
emit_sound(id, CHAN_STATIC, g_heartbeat, 0.0, 0.0, SND_STOP, PITCH_NORM)
}
public event_spectator()
{
emit_sound(read_data(1), CHAN_STATIC, g_heartbeat, 0.0, 0.0, SND_STOP, PITCH_NORM)
} 本帖最后由 点通粉丝 于 2009-4-13 06:45 编辑
血值低过50有心跳声
是不是这个
jiunnwoei2629 跟我不同的原来
页:
[1]
2