View Single Post
Plugin Info:     Modification:          Category:          Approver:   Hawk552 (427)
SchlumPF*
Veteran Member
Join Date: Mar 2007
Old 06-28-2009 , 08:57   MapFinder by SchlumPF
Reply With Quote #1

MapFinder by SchlumPF

Description
This plugin will allow you to easily search for a map in your "maps" directory while being ingame. You can search for a given pattern where the plugin will list all founds which could match your query. When you have found your map you can change the map directly (if you are an admin with the permission to change maps) or nominate it if you either use Deagle's Map Management or Galileo.

Installation
First of all, compile the sourcecode binary since the webcompiler seems to have some problems with this plugin (size is more than 1mb :O). After that, put the amxx-file into your "amxmodx/plugins/" directory and add it in the "plugins.ini" which is located at "amxmodx/configs/". Also add the txt-file in the "amxmodx/data/lang/" directory.

Commands
"/mapfind <pattern>" and "/findmap <pattern>" where <pattern> is a part or the whole name of the map. If you use "*" as pattern all available maps will be listed.

CVars
mapfinder_minchars "1" - minimum amount of characters of the pattern, the values "0" and "1" will disable this

Changelog
Code:
06/28/2009 - v1.0
!: Initial release

06/29/2009 - v1.1
+: Added multi-lingual support
-: Removed the character-check

06/29/2009 - v1.2
+: Added '*' as special pattern to show all available maps
Translations
Code:
[en] SchlumPF
[de] SchlumPF
[nl] crazyeffect
[fr] arkshine
[ro] dorin2oo7
[ru] xPaw
[pl] berix
[es] xjose93
[bg] GmTx


Notes
To disable the support for Deagle's Map Management and Galileo, compile the sma-file localy and comment line 5:
PHP Code:
//#define DMM 
Attached Files
File Type: sma Get Plugin or Get Source (mapfinder.sma - 2402 views - 5.5 KB)
File Type: txt mapfinder.txt (4.4 KB, 987 views)
__________________

Last edited by SchlumPF*; 07-27-2009 at 08:08.
SchlumPF* is offline
Send a message via ICQ to SchlumPF*