HLMOD.HU Forrás Megtekintés - www.hlmod.hu
  1. #include < amxmodx >
  2. #include < engine >
  3.  
  4. public plugin_init( ) {
  5. register_plugin("Nincs Spray", "1.0", "xPaw");
  6.  
  7. new szModel[ 2 ],
  8. iEntity = get_maxplayers( ),
  9. iMaxEntities = get_global_int( GL_maxEntities );
  10.  
  11. while( ++iEntity <= iMaxEntities ) {
  12. if( is_valid_ent( iEntity ) && entity_get_int( iEntity, EV_INT_rendermode ) == kRenderGlow ) {
  13. entity_get_string( iEntity, EV_SZ_model, szModel, 1 );
  14.  
  15. if( szModel[ 0 ] == '*' )
  16. entity_set_int( iEntity, EV_INT_rendermode, kRenderNormal );
  17. }
  18. }
  19. }