Raised This Month: $32 Target: $400
 8% 

amx_next (set the nextmap)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Rossonero
Senior Member
Join Date: Mar 2009
Location: Location
Old 09-27-2009 , 19:53   amx_next (set the nextmap)
Reply With Quote #1

-Description-
I've always wanted to have my admins change the nextmap easily, without using the amx_nextmap cvar with rcon, because I want all admins to be able to change the nextmap directly via a simple command, like amx_next.
Actually what I have done is taken a part of the code of cmdMap (from admincmd plugin I guess, modified my commands plugin entirely long time ago). So basicaly it's a small modification to he nextmap.amxx plugin that can help admins set the nextmap without having to use rcon

also added a line in the dictionary nextmap.txt, to show when an admin changes the nextmap

Quote:
amx_next <map_name> -sets the nextmap
hope you like it... for me and my folks it's very useful

also added the sole source of the command, as fysiks requested: amx_next.sma and amx_next.txt as it's dictionary
to add ML's to the dictionary just reply, I'll do it for you and reupload, or you can do it yourself, by modifying the txt file as needed
Attached Files
File Type: sma Get Plugin or Get Source (nextmap.sma - 2713 views - 4.9 KB)
File Type: sma Get Plugin or Get Source (amx_next.sma - 2369 views - 870 Bytes)
File Type: txt amx_next.txt (310 Bytes, 1373 views)
File Type: txt nextmap.txt (2.0 KB, 1220 views)
__________________
signature

Last edited by Rossonero; 09-29-2009 at 18:04.
Rossonero is offline
Starsailor
horrible hahah
Join Date: Aug 2008
Location: Buenos Aires
Old 09-27-2009 , 20:05   Re: amx_next
Reply With Quote #2

amx_cvar amx_nextmap ?
__________________
Find my plugins here..

Ex - Spanish Moderator.
Starsailor is offline
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 09-27-2009 , 20:09   Re: amx_next
Reply With Quote #3

Already Exist

i think i saw this in amx_super
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 09-27-2009 , 20:30   Re: amx_next
Reply With Quote #4

As far as i know amx_nextmap don't need rcon flag... Also, you can change the flag of the command using some plugins that has been made it in the forum.

And yea, like exist some plugins to do that... for example galileo (if i am not wrong) and others.
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-27-2009 , 22:26   Re: amx_next
Reply With Quote #5

Quote:
Originally Posted by Rossonero View Post
-Description-
I've always wanted to have my admins change the nextmap easily, without using the amx_nextmap cvar with rcon, because I want all admins to be able to change the nextmap directly via a simple command, like amx_next.
Actually what I have done is taken a part of the code of cmdMap (from admincmd plugin I guess, modified my commands plugin entirely long time ago). So basicaly it's a small modification to he nextmap.amxx plugin that can help admins set the nextmap without having to use rcon

also added a line in the dictionary nextmap.txt, to show when an admin changes the nextmap
If you really want to submit this I would suggest not modifying the nextmap.amxx plugin. Just make a plugin with your command alone because that would allow for people to keep their custom nextmap if they have already modified it.

Quote:
Originally Posted by Starsailor View Post
amx_cvar amx_nextmap ?
Not all admins should have cvar access, IMO. You can't trust everyone that you give amx_map access.

Quote:
Originally Posted by Alucard^ View Post
As far as i know amx_nextmap don't need rcon flag... Also, you can change the flag of the command using some plugins that has been made it in the forum.
amx_nextmap is not a command. It is a cvar. Requires cvar access.
__________________
fysiks is offline
chris
Senior Member
Join Date: Mar 2007
Location: America
Old 09-28-2009 , 03:44   Re: amx_next
Reply With Quote #6

At first glance I thought this plugin will switch to the next map with amx_next.
__________________
chris is offline
Send a message via AIM to chris
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 09-28-2009 , 20:09   Re: amx_next
Reply With Quote #7

Quote:
Originally Posted by #8 SickneSS View Post
Already Exist

i think i saw this in amx_super
Doesn't exist...

Anywayz nice plugin.
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Trafalete
Senior Member
Join Date: Sep 2008
Location: Bucuresti ( Printre nori
Old 09-28-2009 , 20:32   Re: amx_next
Reply With Quote #8

i've done the same thing for my server a few months ago...it has had a huge success

congrats
__________________


Trafalete is offline
Rossonero
Senior Member
Join Date: Mar 2009
Location: Location
Old 09-29-2009 , 09:55   Re: amx_next
Reply With Quote #9

fysiks thanks, but I'm not fond of the idea of having many plugins, or creating a plugin for a simple command as this one, and if someone has modified the nextmap plugin, he cand do it again, it's a small mod that I've done

chris I don't think it would have been useful thinking that changing to the nextmap can be done via timelimit or amx_map

DruGzOG thanks

Trafalete: multumesc, sunt deschis pentru schimb de pareri, experiente, daca doresti PM
__________________
signature
Rossonero is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 09-29-2009 , 10:05   Re: amx_next
Reply With Quote #10

You realise this has ML_NOTFOUND errors right?
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode