HLMOD.HU Forrás Megtekintés - www.hlmod.hu
  1. #include <amxmodx>
  2. #include <engine>
  3.  
  4. public plugin_init( )
  5. {
  6. register_plugin( "D2 texture abuse fix", "1.0", "Simo123" );
  7.  
  8. new map[32];
  9. get_mapname(map, 31);
  10.  
  11. if ( equal(map, "de_dust2") )
  12. {
  13. new Ent = create_entity( "info_target" );
  14.  
  15. entity_set_model( Ent, "models/w_shield.mdl" );
  16. entity_set_origin( Ent, Float:{440.0, 265.9, 55.0} );
  17. entity_set_vector( Ent, EV_VEC_angles, Float:{-55.0, -40.0, -89.0} );
  18. }
  19. }