Jump to content

Reserved Slots System


SHC//Sniper

Recommended Posts

Posted

Dear lovely MTA developers,

today big clans self-finance theirselves by receiving donations. I've heard many suggestions about something like reserved slots to special players. As far as I know there ain't any possibility to detect/identify a player who has failed connection to a full server. I suggest to extend the "onPlayerConnect" event with functions that make reserved slots realizable. So we need the possibility to use several functions before a player gets disconnect from a full server.

"onPlayerConnect" when a player ATTEMPTS to join

|

v

run some code before being disconnected from a full server like "kickPlayer(someAFKPlayer)"

|

v

let the identified VIP player join the server using his "reserved slots"

|

v

finish the event and the server is back full

Kind regards

Sniper

New and active mtasa.com username:

-ffs-Sniper!
Posted

Yes, sure. The problem is that I don't know if the event is fired when a player attempts to connect to a FULL server. Normally this event is used for players that connect to a server with free slots.

And always keeping a slot free would be annoying to people if they get kicked everytime they try to join a 31/32 server.

New and active mtasa.com username:

-ffs-Sniper!
Posted

Nah, that's not my point. I want to know if the "onPlayerConnect" event is fired when somebody wants to join a server that is full (32/32). I had no possibility to test it yet but I don't think so.

New and active mtasa.com username:

-ffs-Sniper!
Posted

Start your local server with 1 player slot, then ask a friend to join your server, and see if it works or not (it must work).

"Everything exists, because otherwise nothing would", Bob Marley, 2015.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...