overlocus Posted December 16, 2018 Share Posted December 16, 2018 (edited) How can i make invisible or remove this text? Edited December 16, 2018 by overlocus Link to comment
Moderators Patrick Posted December 16, 2018 Moderators Share Posted December 16, 2018 I think you can't hide it. (because this is the default mta login system) Link to comment
overlocus Posted December 16, 2018 Author Share Posted December 16, 2018 12 minutes ago, Patrick2562 said: I think you can't hide it. (because this is the default mta login system) I didn't find default mta login system where is it? Link to comment
Moderators Patrick Posted December 16, 2018 Moderators Share Posted December 16, 2018 1 hour ago, overlocus said: I didn't find default mta login system where is it? This is a built-in system, not a resource. Link to comment
overlocus Posted December 16, 2018 Author Share Posted December 16, 2018 Just now, Patrick2562 said: This is a built-in system, not a resource. Can i hide in the chat? Link to comment
Moderators Patrick Posted December 16, 2018 Moderators Share Posted December 16, 2018 Just now, overlocus said: Can i hide in the chat? "I think you can't hide it." Link to comment
keymetaphore Posted December 16, 2018 Share Posted December 16, 2018 3 hours ago, overlocus said: How can i make invisible or remove this text? He's right. Your best beat is to clear chat right after login.; Link to comment
Mahlukat Posted December 16, 2018 Share Posted December 16, 2018 can you try this? addEventHandler("onClientChatMessage", getRootElement(),function(text) if text == "login: You successfully logged in" then cancelEvent() end end) 3 Link to comment
Moderators Patrick Posted December 16, 2018 Moderators Share Posted December 16, 2018 2 minutes ago, Mahlukat said: can you try this? addEventHandler("onClientChatMessage", getRootElement(),function(text) if text == "login: You successfully logged in" then cancelEvent() end end) Nice idea. I think this is working. ("This event is triggered when any text is output to chatbox, including MTA's hardcoded messages.") 1 Link to comment
overlocus Posted December 16, 2018 Author Share Posted December 16, 2018 3 minutes ago, Mahlukat said: can you try this? addEventHandler("onClientChatMessage", getRootElement(),function(text) if text == "login: You successfully logged in" then cancelEvent() end end) client or server ? Link to comment
Moderators Patrick Posted December 16, 2018 Moderators Share Posted December 16, 2018 1 minute ago, overlocus said: client or server ? Client, of course. 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