deletedacc Posted March 12, 2020 Share Posted March 12, 2020 Hi ! when i'm Login to my server console automatic send me some think in chat box . some think is this XD : login : Login Succesfuly ... and i dont want this message . what i can do ? sorry for very very bad eng and thanks for helping . . . Link to comment
Administrators Tut Posted March 12, 2020 Administrators Share Posted March 12, 2020 Hey, welcome to the forums @DANFOR I just want to send a quick headsup, that is, your threads should be posted a step up (the primary scripting section, not tutorials). Please familarise yourself with the forum rules and posting guidelines for our separate forum sections. https://forum.multitheftauto.com/topic/12275-forum-rules/ https://forum.multitheftauto.com/forum/71-scripting/ https://forum.multitheftauto.com/forum/74-support/ Have a good time using the forums, thanks Link to comment
deletedacc Posted March 12, 2020 Author Share Posted March 12, 2020 oh Sorry For That ! Link to comment
Moderators Patrick Posted March 12, 2020 Moderators Share Posted March 12, 2020 (edited) I think the only way if you cancel the chat message's event. > onClientChatMessage, cancelEvent local blockedMsg = { "login: You successfully logged in", "login: You are already logged in", } local length = #blockedMsg addEventHandler("onClientChatMessage", root, function(text) for i = 1, length do if blockedMsg[i] == text then return cancelEvent() end end end) Edited March 12, 2020 by Patrick 3 Link to comment
deletedacc Posted March 14, 2020 Author Share Posted March 14, 2020 Thank you thank you thank you and thank you . You are the best ❤❤❤❤❤❤ Link to comment
Moderators Patrick Posted March 14, 2020 Moderators Share Posted March 14, 2020 7 minutes ago, DANFOR said: Thank you thank you thank you and thank you . You are the best ❤❤❤❤❤❤ Welcome 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