AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Simple Slots Reservation (https://forums.alliedmods.net/showthread.php?t=231839)

Jhob94 12-21-2013 10:12

Simple Slots Reservation
 
1 Attachment(s)
Simple Slots Reservation
- v0.0.7, last updat at : 13/10/2014

This plugin only reservates the slot(s) if the amount of admins connected is lower then the amount of slots reservated.
So if you have one slot reserved and one admin is connected, others players are able to join till the server get full. If you have one slot reserved and there is no admins connected, that last slot is reserved for some admin and others players cant join.

Admin Flag: b
Cvar: ssr_amount "#amount of reserved slots"

Credits
  • AmxModX Development Team - Used them slots reservation plugin as base for this one
  • pokemonmaster - Kick Stock (Stock removed)
  • Backstabnoob - Scripting Suggestions
  • Arkshine - Scripting Suggestions


Notes
  • Make sure you arent running the default amxx slots reservation plugin while you run this one.
  • The multi-language file uploaded is from default amxx reservation slots plugin. If you already have it, you dont need to replace.

PoLiCe 12-22-2013 11:43

Re: Simple Slots Reservation
 
#FirstComment :D
Great Idea :).
Gj!

Fuck For Fun 12-22-2013 14:38

Re: Simple Slots Reservation
 
thaks dude, gj )

Jhob94 12-23-2013 08:31

Re: Simple Slots Reservation
 
Quote:

Originally Posted by PoLiCe (Post 2075007)
#FirstComment :D
Great Idea :).
Gj!

Quote:

Originally Posted by Fuck For Fun (Post 2075121)
thaks dude, gj )

Thanks both, did one small update. Just deleted some unnecessary lines :3

jingojang 12-24-2013 06:19

Re: Simple Slots Reservation
 
Can you add cvar for using a native like is_user_vip?

I'm using is_user_vip for my server since I hate using flags for it, works better with sql aswell. VIPs would love it.

Jhob94 12-24-2013 06:30

Re: Simple Slots Reservation
 
Quote:

Originally Posted by jingojang (Post 2075735)
Can you add cvar for using a native like is_user_vip?

I'm using is_user_vip for my server since I hate using flags for it, works better with sql aswell. VIPs would love it.

Edit the flag for your VIP flag

DruGzOG 12-24-2013 10:25

Re: Simple Slots Reservation
 
Nice work, definitely shown a lot of improvement from your previous plugins.

Haven't tested it yet but this works with plugins like amxbans and such?

Jhob94 12-24-2013 11:51

Re: Simple Slots Reservation
 
Quote:

Originally Posted by DruGzOG (Post 2075826)
Nice work, definitely shown a lot of improvement from your previous plugins.

Haven't tested it yet but this works with plugins like amxbans and such?

Yes it works with amxbans. And should work with any other plugin, except if it is reservation slots plugin.

Kia 12-24-2013 11:54

Re: Simple Slots Reservation
 
You should skip bots when you get_players.
Nice plugin anyway.

Jhob94 12-24-2013 11:58

Re: Simple Slots Reservation
 
Quote:

Originally Posted by Kia (Post 2075874)
You should skip bots when you get_players.

Oh yes, will be done at next update

Edit:
Updated, now doesnt check if bots are admin.


All times are GMT -4. The time now is 19:40.

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