buiducduy111
Dragon Quest
- 3/5/11
- 1,257
- 7
@kungfulon: chỗ đó sai chỗ nào? Với cả bạn biết config chỗ nào để radar thành hình tròn mặc định không? (metahook nó draw nguyên overview)
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.

Bác biết sửa chỉ em với !Mấy pro cho em xin cái plugin hiện cai spirtes như trong hình + với cái Plugin chỉnh CLIP và AMMO của sung được không ( Tks nhiều )View attachment 152077
^
Thì lúc nó đâm set anim idle là xong![]()
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
#define PLUGIN "Set Knife"
#define AUTHOR "Bui Duc Duy - Thanks to Dias"
#define VERSION "1.0"
public plugin_init()
{
RegisterHam(Ham_Weapon_SecondaryAttack, "weapon_knife", "fw_SecondaryAttack")
}
public fw_SecondaryAttack(ent)
{
if(!pev_valid(ent))
return HAM_IGNORED
static id
id = pev(ent, pev_owner)
set_pdata_float(id, 83, get_gametime(), 5)
set_task(0.5, "Exec_SecAttack", ent)
return HAM_SUPERCEDE
}
public Exec_SecAttack(ent)
{
set_pdata_float(pev(ent, pev_owner), 83, 0.0, 5)
ExecuteHam(Ham_Weapon_SecondaryAttack, ent)
}

^
- cái vụ show hud vượt 255 và 254 là Metahook tự làm mà. Còn vụ hiện number riêng thì trong sprites nó có mấy file spr là số đó. mang vào metahook
- pm sontung0 thẳng tiến
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
#define PLUGIN "Set Knife"
#define AUTHOR "Bui Duc Duy"
#define VERSION "1.0"
new id
public plugin_init()
{
RegisterHam(Ham_Weapon_SecondaryAttack, "weapon_knife", "fw_SecondaryAttack")
RegisterHam(Ham_Weapon_SendWeaponAnim, "weapon_knife", "fw_Weapon_SendWeaponAnim")
}
public fw_SecondaryAttack(ent)
{
if(!pev_valid(ent)) return HAM_IGNORED
id = pev(ent, pev_owner)
SendAnim(id, 5)
set_pdata_float(id, 83, get_gametime(), 5)
set_task(0.75, "Exec_SecAttack", ent)
return HAM_SUPERCEDE
}
public Exec_SecAttack(ent)
{
id = pev(ent, pev_owner)
set_pdata_float(id, 83, 0.0, 5)
ExecuteHam(Ham_Weapon_SecondaryAttack, ent)
}
public fw_Weapon_SendWeaponAnim(ent, iAnim, skiplocal, body)
{
id = pev(ent, pev_owner)
if (!is_user_connected(id)) return HAM_IGNORED
if (iAnim == 4) return HAM_SUPERCEDE
return HAM_IGNORED
}
SendAnim(id, anim)
{
if (!is_user_alive(id)) return;
set_pev(id, pev_weaponanim, anim)
message_begin(MSG_ONE_UNRELIABLE, SVC_WEAPONANIM, _, id)
write_byte(anim)
write_byte(0)
message_end()
}