Release Nextmap Plugin v1.01
#1
Well here`s a little plugin i think it will useful for some of you Smile


Don't forget to add following lines in sv_config:

Code:
[NextMap] DSR1=dsr1 // will be ur dsr file name located in players or admin folder DSR2=drs2 // if you have multiple in rotation or leave black DSR3=dsr3 Time=60 //in secs Rotation=0 //nextmap will display on rotation 0=disable, 1=enable
Command:
Code:
!nextmap //available if Rotation is disabled.

Version 1.01
Changelog (Click to View)



Attached Files
.rar   nextmap.rar (Size: 2.83 KB / Downloads: 397)
Reply

#2
but how you do non-random rotation?
Reply

#3
This is pretty cool +1
Reply

#4
Looks good, nice one Wink

Reply

#5
never knew that dvar existed Smile nice job!
Had a life, Got a modem..
Reply

#6
(02-23-2012, 06:47)Dumas Wrote: but how you do non-random rotation?
well try this for multiple its just an example Tongue
Code:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Addon; using System.Collections; namespace nextmap { public class nextmap : CPlugin { ArrayList user = new ArrayList(); public string dsr; public string dsr1; public override void OnServerLoad() { ServerPrint("NextMap Loaded Author:YAMRAJ"); dsr = GetServerCFG("NextMap", "DSR Name1", ""); dsr1 = GetServerCFG("NextMap", "DSR Name2", ""); } public override ChatType OnSay(string Message, ServerClient Client) { if (Message.StartsWith("!nextmap")) { if (user.Contains(Client.XUID)) { TellClient(Client.ClientNum, "^2PM: ^1You used this command recently wait for the next map.", true); } else { user.Add(Client.XUID); if ((GetDvar("nextmap") == "mp_alpha " + dsr) || (GetDvar("nextmap") == "mp_alpha " + dsr1)) { ServerSay("^3NextMap(^1Lockdown^3)", false); } } return ChatType.ChatNone; } return ChatType.ChatContinue; } public override void OnMapChange() { user.Clear(); } } }

Reply

#7
I heard this doesn't work, can anyone confirm this actually is working like it should?
Also pretty suspicious that you share source code now
Reply

#8
Well i shared source coz there is no plugin related to NextMap and i obfuscate my ProMod bcoz it is stable than other promod and has relative plugin which is unstable and for your info NextMap is working fine i just checked on a server who was using this and working perfectly.
Quote:Also pretty suspicious that you share source code now
I know you have some problem with me but try not to put shit on me its un toleratable now why not act like an MODERATOR ?

Reply

#9
I am not having a problem with you. You don't have to tell me my rank everytime I tell what I think.
I might be a moderator but that doesn't mean I can't give my opinion every once in a while.
You gave a proper explanation and that's all I wanted to hear, the whole 'untoleratablallae shit' wasn't needed at all.
Reply

#10
lol how many times I need to give you explanation ? i talked to doh hope he will fix this situation.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Wink Plugin with !ban !kick and !tampban clemi555 3 6,492 11-09-2013, 09:21
Last Post: clemi555
  AntiNoScope Plugin clemi555 5 7,592 11-08-2013, 19:13
Last Post: clemi555
  [Release] Bunker Plugin 1.3 archit 68 55,806 10-30-2013, 11:59
Last Post: clacki
  Help Modifying plugin maverigh 5 7,643 10-19-2013, 10:29
Last Post: Nekochan
Shocked [Request] Switch plugin axel-le-meilleur 6 8,295 10-19-2013, 06:59
Last Post: iRoNinja
  [Release] Yurio Map Plugin Yurio 101 82,098 09-26-2013, 13:38
Last Post: First_Semyon
Brick [Release] v1.1 ChangeMap/NextMap Plugin without any configuration milchshake 23 25,159 09-23-2013, 13:18
Last Post: SgtLegend
  Help !say Plugin (like the !say from GodPlugin) Hallla 0 3,655 09-13-2013, 09:31
Last Post: Hallla
Rainbow [Release] MW3: Random Weapon Plugin V1 Nekochan 50 44,652 09-11-2013, 15:11
Last Post: EnVi Sweden Rocks
  Search Plugin Fluid Killcam N3xT_974 1 3,974 09-10-2013, 20:27
Last Post: Nekochan

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2026 Melroy van den Berg.