12p Posted December 11, 2010 Share Posted December 11, 2010 Is there some way to disconnect a player without using kickPlayer? And, is there some way to disable "Esc" MTA Menu? Link to comment
Deltanic Posted December 11, 2010 Share Posted December 11, 2010 1: Crashing the player? 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
12p Posted December 11, 2010 Author Share Posted December 11, 2010 I want to keep able the player that, when (s)he presses "Esc", enters a pause menu, with a "disconnect" button. Link to comment
Deltanic Posted December 11, 2010 Share Posted December 11, 2010 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 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
12p Posted December 11, 2010 Author Share Posted December 11, 2010 Yep, but I wanted to NOT use kickPlayer Link to comment
Static-X Posted December 12, 2010 Share Posted December 12, 2010 you can redirect the player to a random IP redirectPlayer(argument,'123.12.123.12',2012) Link to comment
Castillo Posted December 12, 2010 Share Posted December 12, 2010 My suggestion is to create a lobby Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now