12p Posted December 11, 2010 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?
botanist Posted December 11, 2010 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. Handling editor | Modloader
12p Posted December 11, 2010 Author 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.
botanist Posted December 11, 2010 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. Handling editor | Modloader
Static-X Posted December 12, 2010 Posted December 12, 2010 you can redirect the player to a random IP redirectPlayer(argument,'123.12.123.12',2012)
Castillo Posted December 12, 2010 Posted December 12, 2010 My suggestion is to create a lobby San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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