Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public plugin_init() {
- register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR);
- RegisterHam(Ham_Item_Deploy, "weapon_knife", "fw_SkullAxe_Draw", 1);
- RegisterHam(Ham_Weapon_WeaponIdle, "weapon_knife", "fw_SkullAxe_Idle");
- RegisterHam(Ham_Weapon_PrimaryAttack, "weapon_knife", "fw_SkullAxe_Attack_Slash");
- RegisterHam(Ham_Weapon_SecondaryAttack, "weapon_knife", "fw_SkullAxe_Attack_Stab");
- RegisterHam(Ham_Item_PostFrame, "weapon_knife", "fw_SkullAxe_PostFrame");
- #if defined WEAPON_LIST
- RegisterHam(Ham_Item_AddToPlayer, "weapon_knife", "fw_SkullAxe_AddToPlayer_Post", 1);
- g_iMsgID_WeaponList = get_user_msgid("WeaponList");
- register_clcmd(SKULLAXE_WEAPONLIST, "ClientCommand_SelectKnife");
- #endif
- register_forward(FM_UpdateClientData, "fw_UpdateClientData_Post", 1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement