DePemy Posted October 14, 2014 Share Posted October 14, 2014 Hello friends! I was wondering if there is a way to change the custom player kicked, player banned and player muted message.. My idea is to make it something like this : Player .... Kicked by .... Reason : .... Same goes for ban, mute and unmute.. Hope you guys can help out! Kind Regards! Remy Link to comment
manve1 Posted October 14, 2014 Share Posted October 14, 2014 Well, it's simple (if you want it to be in the server). Create a new function On functions execution you prevent any keys on pressing (except keys like esc, ctrl ...) Draw some text explaining why When clicked on "OK" or something, he gets disconnected and added to banned list. On connect check if it's a banned serial, if it is, kick him. But if you want the original one to be changed, i am pretty sure it is possible, just take a look: kickPlayer ( player kickedPlayer, [ player responsiblePlayer, string reason = "" ] ) 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