JR10 Posted June 19, 2011 Share Posted June 19, 2011 Here is the code --client side triggerServerEvent('kickThePlayer', root) --server side addEvent('kickThePlayer', true) addEventHandler('kickThePlayer', root, function() kickPlayer(kickThePlayer, 'reason') end) The problem is the player gets kicked but without a reason just says You were kicked by console i tried to fix it in many ways. Thanks in advance. EDIT: the reason was too long fixed 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