Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define PLUGIN "New Plugin"
- #define VERSION "1.0"
- #define AUTHOR "Author"
- new sound[]= "misc/sunet.wav";
- public plugin_init() {
- register_plugin(PLUGIN, VERSION, AUTHOR)
- register_event( "DeathMsg", "EventDeathMsg", "a" );
- }
- public plugin_precache()
- {
- precache_sound(sound)
- }
- public EventDeathMsg()
- {
- if(read_data(3))
- {
- client_cmd(0,"spk %s",sound)
- }
- return PLUGIN_CONTINUE;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement