REAPI DEATH HOOK Jul 16, 2018 6:49:24 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by soumyadip77 on Jul 16, 2018 6:49:24 GMT ANY ONE CAN GIVE ME 1 EXAMPLE HOW TO GET ATTACKER AND VICTIM ID AND WEAPON ID WITH REAPI HookChaninplz help me make for knife that the player %s Knifed %s LOLPlz make for me only reapi hook
REAPI DEATH HOOK Jul 16, 2018 9:55:55 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by DoNii on Jul 16, 2018 9:55:55 GMT Use Hamsandwich.
REAPI DEATH HOOK Jul 16, 2018 10:31:30 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by soumyadip77 on Jul 16, 2018 10:31:30 GMT i want in reapi
REAPI DEATH HOOK Jul 16, 2018 11:11:28 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by ZinoZack47 on Jul 16, 2018 11:11:28 GMT Jul 16, 2018 10:31:30 GMT soumyadip77 said:i want in reapi This much simpler?in plugin_init()register_event("DeathMsg", "event_DeathMsg", "a" )then add this functionpublic event_DeathMsg(){new Attacker = read_data(1)new Victim = read_data(2)new Headshot = read_data(3)new Weapon = get_user_weapon(Attacker)if(!is_user_connected(Attacker) || Attacker == Victim)returnnew AttackerName[32], VictimName[32]get_user_name(Attacker, AttackerName, charsmax(AttackerName))get_user_name(Victim, VictimName, charsmax(VictimName))if(Weapon == CSW_KNIFE) client_print(0, print_chat, "%s knifed %s", AttackerName, VictimName)//Add Some Code}
REAPI DEATH HOOK Jul 16, 2018 11:45:04 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by soumyadip77 on Jul 16, 2018 11:45:04 GMT nah not this rehlds hookchain
REAPI DEATH HOOK Jul 16, 2018 11:46:36 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by soumyadip77 on Jul 16, 2018 11:46:36 GMT using this RegisterHookChain( RG_CBasePlayer_Killed , "CBasePlayer_Killed", .post = 0);but i dk how to do :/
REAPI DEATH HOOK Jul 16, 2018 11:51:22 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by DoNii on Jul 16, 2018 11:51:22 GMT Jul 16, 2018 11:46:36 GMT soumyadip77 said:using this RegisterHookChain( RG_CBasePlayer_Killed , "CBasePlayer_Killed", .post = 0);but i dk how to do :/ If you don't know then listen to others' advice. Why would you use RegisterHookChain to hook death?
REAPI DEATH HOOK Jul 16, 2018 12:24:15 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by soumyadip77 on Jul 16, 2018 12:24:15 GMT i want if u can help else you can ignore
REAPI DEATH HOOK Jul 16, 2018 12:34:24 GMT $h@DoW likes this Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by DoNii on Jul 16, 2018 12:34:24 GMT Jul 16, 2018 12:24:15 GMT soumyadip77 said:i want if u can help else you can ignore Ok, I'll ignore you.
REAPI DEATH HOOK Jul 16, 2018 12:57:28 GMT ZinoZack47 likes this Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by $h@DoW on Jul 16, 2018 12:57:28 GMT already told him ! same thing as Zino he understands now !
REAPI DEATH HOOK Jul 16, 2018 12:58:29 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by ZinoZack47 on Jul 16, 2018 12:58:29 GMT Jul 16, 2018 12:34:24 GMT DoNii said:Jul 16, 2018 12:24:15 GMT soumyadip77 said:i want if u can help else you can ignore Ok, I'll ignore you.Look man you should listen to exprets advice otherwise you would have to carry a plant
REAPI DEATH HOOK Jul 16, 2018 13:24:02 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by soumyadip77 on Jul 16, 2018 13:24:02 GMT Jul 16, 2018 12:58:29 GMT ZinoZack47 said:Jul 16, 2018 12:34:24 GMT DoNii said:Ok, I'll ignore you.Look man you should listen to exprets advice otherwise you would have to carry a plantyou know what i want to know all learn
REAPI DEATH HOOK Jul 16, 2018 13:31:21 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by ZinoZack47 on Jul 16, 2018 13:31:21 GMT Jul 16, 2018 13:24:02 GMT soumyadip77 said:Jul 16, 2018 12:58:29 GMT ZinoZack47 said:Look man you should listen to exprets advice otherwise you would have to carry a plantyou know what i want to know all learn Man I can't believe this#include <amxmodx>#include <reapi>#define PLUGIN "[REAPI] HOOK DEATH"#define VERSION "1.0"#define AUTHOR "ZinoZack47"public plugin_init(){ register_plugin(PLUGIN, VERSION, AUTHOR); RegisterHookChain(RG_CBasePlayer_Killed, "fw_PlayerKilled_Post", 1)}public fw_PlayerKilled_Post(Victim, Killer){ if(!is_user_connected(Victim) || !is_user_connected(Killer) || Victim == Killer) return HC_CONTINUE new Weapon = get_user_weapon(Killer) new KillerName[32], VictimName[32] get_user_name(Killer, KillerName, charsmax(KillerName)) get_user_name(Victim, VictimName, charsmax(VictimName)) if(Weapon == CSW_KNIFE) client_print(0, print_chat, "%s knifed %s", KillerName, VictimName) return HC_CONTINUE}
REAPI DEATH HOOK Jul 16, 2018 13:32:19 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by soumyadip77 on Jul 16, 2018 13:32:19 GMT Jul 16, 2018 13:31:21 GMT ZinoZack47 said:Jul 16, 2018 13:24:02 GMT soumyadip77 said:you know what i want to know all learn Man I can't believe this#include <amxmodx>#include <reapi>#define PLUGIN "[REAPI] HOOK DEATH"#define VERSION "1.0"#define AUTHOR "ZinoZack47"public plugin_init(){ register_plugin(PLUGIN, VERSION, AUTHOR); RegisterHookChain(RG_CBasePlayer_Killed, "fw_PlayerKilled_Post", 1)}public fw_PlayerKilled_Post(Victim, Killer){ if(!is_user_connected(Victim) || !is_user_connected(Killer) || Victim == Killer) return HC_CONTINUE new Weapon = get_user_weapon(Killer) new KillerName[32], VictimName[32] get_user_name(Killer, KillerName, charsmax(KillerName)) get_user_name(Victim, VictimName, charsmax(VictimName)) if(Weapon == CSW_KNIFE) client_print(0, print_chat, "%s knifed %s", KillerName, VictimName) return HC_CONTINUE}thanks
REAPI DEATH HOOK Jul 16, 2018 13:36:25 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by ZinoZack47 on Jul 16, 2018 13:36:25 GMT Jul 16, 2018 13:32:19 GMT soumyadip77 said:Jul 16, 2018 13:31:21 GMT ZinoZack47 said:Man I can't believe this#include <amxmodx>#include <reapi>#define PLUGIN "[REAPI] HOOK DEATH"#define VERSION "1.0"#define AUTHOR "ZinoZack47"public plugin_init(){ register_plugin(PLUGIN, VERSION, AUTHOR); RegisterHookChain(RG_CBasePlayer_Killed, "fw_PlayerKilled_Post", 1)}public fw_PlayerKilled_Post(Victim, Killer){ if(!is_user_connected(Victim) || !is_user_connected(Killer) || Victim == Killer) return HC_CONTINUE new Weapon = get_user_weapon(Killer) new KillerName[32], VictimName[32] get_user_name(Killer, KillerName, charsmax(KillerName)) get_user_name(Victim, VictimName, charsmax(VictimName)) if(Weapon == CSW_KNIFE) client_print(0, print_chat, "%s knifed %s", KillerName, VictimName) return HC_CONTINUE}thanks Look Son You must hear other seniors advice if you want to go further.