This site has been archived and made available for preservation purposes. No edits can be made.
-
Senior Member
Offical Server Slots & Stuff for server coding
So, I was wondering, before I start scripting I really need to know how many slots there are, I saw a server with 7000 which was pretty cool/funny XD But in the beta days of SA-MP 0.1 etc Max server slots were 100, which I'm guessing fallout MP could possibly hold that many.
So yeah. If possible bump this thread and reply !
Code :
#define MAX_PLAYERS 100 // IDK?
#define MAXVAULTCLIENTS MAX_PLAYERS
May or may not had of read some stuff in the forum, not sure
Another thing, is there any method to getting the player to crash/disconnect?
Kick(clientID), Ban(clientID) should be made soon xD
Thanks, Lorenc.
A gaming community ran by one person, with servers made by individuals (in this case, me, myself)
I plan to look for a trusted person who will help me create a decent roleplay/deathmatch server on Vault-TEC,
PM me if you're interested
-
Re: Offical Server Slots & Stuff for server coding
Functions as Kick and Ban will be implemented very soon (maybe with the next update), as well as other scripting related stuff. You will than be able to retrieve the maximum player slots via a function GetMaxServerSlots(). It doesn't really make sense to iterate from 0 to MAX_PLAYERS and checking the connected state for every slot
-
Senior Member
Re: Offical Server Slots & Stuff for server coding
Ahh thanks, I forgot about that xD
Code :
#define MAX_PLAYERS (GetMaxServerSlots())
That might do, thanks alot mate
A gaming community ran by one person, with servers made by individuals (in this case, me, myself)
I plan to look for a trusted person who will help me create a decent roleplay/deathmatch server on Vault-TEC,
PM me if you're interested
Similar Threads
-
By SynHD in forum Discussion
Replies: 7
Last Post: 09-06-2011, 04:32 AM
-
By Crawdy in forum Off-Topic
Replies: 2
Last Post: 08-28-2011, 08:10 AM
-
By Eyeconic in forum Discussion
Replies: 2
Last Post: 08-24-2011, 03:31 AM
-
By blackdead in forum Discussion
Replies: 7
Last Post: 08-15-2011, 01:02 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules