Jump to content

2 questions


12p

Recommended Posts

1: Crashing the player? :P

When do you want to disconnect the player? When he's already playing, or before he joins?

2: Afaik, you can only check that, not setting or disabling it, cmiiaw. But what's your purpose? You could move the player to another place if he pressed the ESC button.

Link to comment

Aha, I think that needs a scripting request. You could use F1 till the MTA dev is going to add support for that. F1 is commonly used in most gamemodes, as you already know ofcourse :P

And to go back on the quit player: You could kick the player with reason: "You have been disconnected.", and check that reason in on(Client)PlayerQuit so you are able to output a quit message, instead of kick message. That's how I would do it.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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