Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin
4 posts, 3 people · 3,227 views Thread Rating: ★★★★★
closedNextmap Plugin
Started by Ba5ic on 11-30-2006, 07:24 AM
Ba5ic
started this thread
Posts: 181
Threads: 26
Joined: Nov 2005
11-30-2006, 07:24 AM #1

Hey GuysrnrnBack in the heady days when Firestorm was leader of [RST], on there 24/7 Ava server he had a plugin which " when a pubber typed" nextmap it displayed a message in chat, something along the lines of " how stupid are you? what do you expect on a 24/7 Avalanche server!.rnrnAs i said it was quite a while ago i saw this, any help would be good.rnrnThanks!

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
11-30-2006, 08:10 PM #2

you could probably edit the amxx language files (not sure off the top of my head which) to print whatever you want when the nextmap shortcut is used

O orbit
posted here
Posts: 39
Threads: 2
Joined: Jan 2005
12-01-2006, 05:36 AM #3

If you're comfortable editing and compiling sma files, you can do the following:rnrn1. In your addons/amxmodx/scripts directory is a file called nextmap.sma. Copy this to something like mynextmap.sma.rn2. Edit mynextmap.sma and find the following lines:rnrnpublic sayNextMap()rn{rn new name[32]rnrn getNextMapName(name, 31)rn client_print(0, print_chat, "%L %s", LANG_PLAYER, "NEXT_MAP", name)rn}rnrnrnReplace the above with this:rnrnpublic sayNextMap()rn{rn client_print(0, print_chat, "How stupid are you? what do you expect on a 24/7 Avalanche server!" )rn}rnrn3. In your addons/amxmodx/configs/plugins.ini file, comment out the orginal nextmap.amxx file and add your mynextmap.amxxrnrn4. Compile mynextmap.sma and put the compiled mynextmap.amxx in your plugins directory. Change the map to reload the plugin and you're all set.rnrnI just tried this on my server and it works fine. If you want the sma file, just let me know and I will post it to you.rnrn-O-

Ba5ic
started this thread
Posts: 181
Threads: 26
Joined: Nov 2005
12-01-2006, 06:04 AM #4

Compiled , installed and working perfectly!rnrnThanks Guys

DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC