Varkis Posted July 23, 2021 Posted July 23, 2021 How to prohibit logging in to the server from a custom client?
!#NssoR_) Posted July 23, 2021 Posted July 23, 2021 https://wiki.multitheftauto.com/wiki/OnPlayerConnect
Hydra Posted July 23, 2021 Posted July 23, 2021 function playerConnect(playerNick, playerIP, playerUsername, playerSerial, playerVersionNumber) if playerSerial == "serial here" then cancelEvent(true,"your message.") else end end addEventHandler ("onPlayerConnect", getRootElement(), playerConnect) Edited from wiki Social Media: Discord: Gabriel45#6859 Instagram: https://www.instagram.com/_gabriel_455/ YouTube: Hydra45 (https://www.youtube.com/c/Hydra45/)
Varkis Posted July 28, 2021 Author Posted July 28, 2021 Well, how do I find out which client the player uses?
Hydra Posted July 28, 2021 Posted July 28, 2021 (edited) 10 minutes ago, Egor_Varaksa said: Well, how do I find out which client the player uses? https://wiki.multitheftauto.com/wiki/GetVersion You can check if the version is ,,Custom" and do the thing you want to make. Edited July 28, 2021 by Hydra Social Media: Discord: Gabriel45#6859 Instagram: https://www.instagram.com/_gabriel_455/ YouTube: Hydra45 (https://www.youtube.com/c/Hydra45/)
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