HLMOD.HU Forrás Megtekintés - www.hlmod.hu
  1. #include <amxmodx>
  2. #include <engine_stocks>
  3.  
  4. #define VERSION "1.0"
  5.  
  6. public plugin_init() {
  7. register_plugin( "Remove deathrun_temple door", VERSION, "balck" );
  8. register_cvar( "dt_door_remove", VERSION, FCVAR_SERVER|FCVAR_SPONLY );
  9.  
  10. new map[32];
  11. get_mapname( map, 31 );
  12.  
  13. if ( equal( map, "deathrun_temple" ) ) {
  14. remove_entity_name( "momentary_door" );
  15. remove_entity_name( "momentary_rot_button" );
  16. remove_entity_name( "env_spark" );
  17.  
  18. new fuwall = find_ent_by_model( fuwall, "func_wall", "*152" );
  19. remove_entity( fuwall );
  20. }
  21. }
  22. /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
  23. *{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1038\\ f0\\ fs16 \n\\ par }
  24. */
  25.