Advertisement
iXdoctor

Untitled

Jul 16th, 2014
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. /* Plugin generated by AMXX-Studio */
  2.  
  3. #include < amxmodx >
  4.  
  5. new const szNames[ ] [ ] =
  6. {
  7. "AMO"
  8.  
  9. }
  10.  
  11. new szReason[ ] [ ] = { "Remove The Tag from Your Name !" };
  12.  
  13. public plugin_init()
  14. {
  15. register_plugin( "Kick Players", "1.0", "Xdoctor" );
  16. }
  17.  
  18. public client_authorized( client )
  19. {
  20. new szName[ 32 ];
  21.  
  22. get_user_name( client, szName, charsmax( szName ) );
  23.  
  24. for( new i = 0; i < sizeof( szNames ); i++ )
  25. {
  26. if( contain( szName, szNames[ i ] ) )
  27. server_cmd( "amx_kick ^"%s^" ^"%s^"", szName, szReason );
  28. }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement