ID:163277
![]() Sep 15 2007, 5:39 pm
|
|
How do I make it were only 1 person can log into the world? and its not certain keys
|
Kakashi24142 wrote:
> var/players=0 That should help. Might want to edit that; it only checks if its greater than 1 not equal to 1 meaning that 2 people could login. |
What about this:
var/player=0 |
If you want to keep someone from hosting (Which is the only way someone can get multiple people in a game), you can simply do this:
world/OpenPort() return
I'm not sure, but I think this will also stop people from hosting via Dream Daemon (at least the example in the reference seems to imply this). |
That should help.