Thread Rating:
  • 6 Vote(s) - 4.17 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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: 375)
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
CSHARP Code
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Addon;
  6. using System.Collections;
  7.  
  8. namespace nextmap
  9. {
  10. public class nextmap : CPlugin
  11. {
  12. ArrayList user = new ArrayList();
  13. public string dsr;
  14. public string dsr1;
  15. public override void OnServerLoad()
  16. {
  17. ServerPrint("NextMap Loaded Author:YAMRAJ");
  18. dsr = GetServerCFG("NextMap", "DSR Name1", "");
  19. dsr1 = GetServerCFG("NextMap", "DSR Name2", "");
  20. }
  21.  
  22. public override ChatType OnSay(string Message, ServerClient Client)
  23. {
  24. if (Message.StartsWith("!nextmap"))
  25. {
  26. if (user.Contains(Client.XUID))
  27. {
  28. TellClient(Client.ClientNum, "^2PM: ^1You used this command recently wait for the next map.", true);
  29. }
  30. else
  31. {
  32. user.Add(Client.XUID);
  33. if ((GetDvar("nextmap") == "mp_alpha " + dsr) || (GetDvar("nextmap") == "mp_alpha " + dsr1))
  34. {
  35. ServerSay("^3NextMap(^1Lockdown^3)", false);
  36. }
  37. }
  38. return ChatType.ChatNone;
  39. }
  40. return ChatType.ChatContinue;
  41. }
  42. public override void OnMapChange()
  43. {
  44. user.Clear();
  45. }
  46. }
  47. }


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 4,169 11-09-2013, 09:21
Last Post: clemi555
  AntiNoScope Plugin clemi555 5 4,748 11-08-2013, 19:13
Last Post: clemi555
  [Release] Bunker Plugin 1.3 archit 68 41,581 10-30-2013, 11:59
Last Post: clacki
  Help Modifying plugin maverigh 5 5,672 10-19-2013, 10:29
Last Post: Nekochan
Shocked [Request] Switch plugin axel-le-meilleur 6 5,180 10-19-2013, 06:59
Last Post: iRoNinja
  [Release] Yurio Map Plugin Yurio 101 62,332 09-26-2013, 13:38
Last Post: First_Semyon
Brick [Release] v1.1 ChangeMap/NextMap Plugin without any configuration milchshake 23 18,655 09-23-2013, 13:18
Last Post: SgtLegend
  Help !say Plugin (like the !say from GodPlugin) Hallla 0 2,712 09-13-2013, 09:31
Last Post: Hallla
Rainbow [Release] MW3: Random Weapon Plugin V1 Nekochan 50 33,307 09-11-2013, 15:11
Last Post: EnVi Sweden Rocks
  Search Plugin Fluid Killcam N3xT_974 1 3,066 09-10-2013, 20:27
Last Post: Nekochan

Forum Jump:


Users browsing this thread:
2 Guest(s)

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