Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release Plugin ReservedSlot v1.3
#1
Rainbow 
Hello everyone!

[Image: reservedslot.jpg]

Much who to trying make plugin ReservedSlot. I read some comments from this post: https://www.itsmods.com/forum/Thread-Rel...v1-1c.html.
I edited the code, I can say that i has created a new, but this code plugin a little harder.

The problem, which was in a code:
if (int.Parse(GetDvar("sv_maxclients")) == clients.Count)
I don't know why it was, but I decided this problem.
--
Quote:Requirements:
For game version 1.4.382 or higher
@Nukem's server addon 1.204 or higher


To add XUID need to write it in ReservedSlot/ReservedSlot.txt.
I Think that isn't hard. Example of filling can be seen here:
http://i9.pixs.ru/storage/3/3/6/1png_131...064336.png


Add to sv_config.ini

Quote:[ReservedSlotPlugin]
message=^2Sorry, ^1slot has been reserved.
//send message to kicked a player
rule=1
//1 - Kick of the player with the highest ping
//2 - Kick of the last player has connected
//3 - Kick a random player
ReturnMsg=^1Slot ^7has been opened. Please Rejoin.



--
The plugin has been tested. It work at 100%
The code is under development. So, when you connect, you will get a returnMsg, but user will be kicked.
--
Need a source code? - Write to pm me
--


P.S. All files put the folder in "Plugins"
I think you'll like it. Enjoy! Smile


Attached Files
.zip   ReservedSlot v1.3.zip (Size: 3 KB / Downloads: 110)
Reply

#2
Source code and documentation: http://mordekai74.3dn.ru/load/reservedsl...n/1-1-0-15
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Tongue [Release] MW3 Shop plugin Dude 56 39,966 03-25-2018, 05:18
Last Post: [email protected]
  [Release] Permission plugin Pozzuh 202 126,652 05-01-2017, 15:41
Last Post: W4R||The Hyper
  [Release] FIXED SPEED PLUGIN hillbilly 2 4,319 06-02-2016, 20:23
Last Post: clacki
  [Release] Bots Plugin For Users Casper 22 34,719 08-22-2015, 17:45
Last Post: SnapBacks
  [Release] God Plugin v5.0 [Ingame Rcon Tool] OzonE 464 258,963 06-27-2015, 15:38
Last Post: bluedot
  [Release] Anti Hardscope Plugin 8q4s8 26 22,099 06-20-2015, 22:44
Last Post: urj88419
  [Release] ProMod Plugin zxz0O0 875 618,602 03-25-2015, 22:02
Last Post: kris
  [Release] [Discontinued] Speed Plugin Pozzuh 164 92,900 10-06-2014, 12:56
Last Post: Nekochan
  [help]how create a ping plugin clacki 3 3,830 09-13-2014, 01:23
Last Post: clacki
  Help How Compile Mw3 Plugin By VB 2010 clacki 3 4,179 06-11-2014, 11:55
Last Post: SgtLegend

Forum Jump:


Users browsing this thread:
1 Guest(s)

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