Jump to content

Weird Problem


JR10

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...