Quote:
Originally Posted by Kris Kristensen
Hi again,
No, I agree - this needs to be clarified. Sorry for my rude attempt to make you write code, without explaining the gameplay.
Basically what I need is a way to identify a match, assuming that my server is running concurrent games. I understand that a unique identifier is not an option. That's fine, now, I imagine the following flow:
User logs into my server (community server). The user is requested to enter a pincode before actually allowed in on the server. If the user's pin is correct the game will go into warmup mode, until at least one other opponent (not BOT) enters the game. The new enterer will also have to enter his code, and if validated correctly, he will be let into the server, and a new warmup of 1 minute commences. After that - normal gameplay.
I know a couple of the building blocks here, but the one with the input field for pincode, is that even possible? It won't work pressing Y or ~ for chat/console for input, as the code must be entered as part of the "PutInServer" logic somehow. If the user enter the wrong code, he'll be kicked from the server
Best
Kris
|
its probably doable but i don't think a snippet will help you
there are different ways to achieve what you want (i'm guessing private servers)
you can use sv_password and just give it to players you want
you can use sever whitelist
https://www.sourcemod.net/plugins.ph...tion=&search=1
__________________