Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Plugin generated by AMXX-Studio */
- #include <amxmodx>
- #include <amxmisc>
- #define PLUGIN "New Plug-In"
- #define VERSION "1.0"
- #define AUTHOR "author"
- public plugin_init() {
- register_plugin(PLUGIN, VERSION, AUTHOR)
- register_event("DeathMsg", "hook_death", "b")
- }
- public hook_death()
- {
- new attacker, victim
- attacker = read_data(1)
- victim = read_data(2)
- if(!is_user_bot(victim) || !is_user_bot(attacker))
- return PLUGIN_CONTINUE
- if(get_user_deaths(victim) == 5)
- {
- client_cmd(victim,"say /rs")
- }
- if(get_user_frags(attacker) == 30)
- {
- client_cmd(attacker,"say /rs")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment