Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Plugin generated by AMXX-Studio */
- #include < amxmodx >
- public plugin_init() {
- register_plugin( "Block Fire In The Hole", "v0.0.1", "+ColdWar" )
- register_message( get_user_msgid( "TextMsg" ), "RegMsg_TextMsg" );
- register_message( get_user_msgid( "SendAudio" ), "RegMsg_SendAudio")
- }
- public RegMsg_TextMsg( )
- {
- static szMessage[192];
- get_msg_arg_string(5, szMessage, 191);
- if( equal(szMessage, "#Fire_in_the_hole") )
- return 1;
- return 0;
- }
- public RegMsg_SendAudio()
- {
- static szMessage[20]
- get_msg_arg_string( 2, szMessage, 20 )
- if( equal( szMessage[1], "!MRAD_FIREINHOLE" ) )
- return 1;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement