HLMOD.HU Forrás Megtekintés - www.hlmod.hu
  1. #include < amxmodx >
  2. #include < engine >
  3.  
  4. public plugin_init( ) {
  5. register_plugin( "Reset Buttons", "1.2", "xPaw" );
  6.  
  7. register_event( "HLTV", "EventNewRound", "a", "1=0", "2=0" );
  8. }
  9.  
  10. public EventNewRound( ) {
  11. new iEntity;
  12.  
  13. while( ( iEntity = find_ent_by_class( iEntity, "func_button" ) ) > 0 )
  14. call_think( iEntity );
  15. }
  16.