Scarface Posted September 9, 2008 Posted September 9, 2008 i have a resource that kicks a player if he does not have name_surname the problem is it dosent show the reason kickPlayer(source,getPlayerFromNick,("Console"),"Your name is invalid! Your name must consist of your name_surname") Whats wrong?
DutchCaffeine Posted September 9, 2008 Posted September 9, 2008 Much: kickPlayer(source, getRootElement(), "Your name is invalid! Your name must consist of your name_surname") -- Layout: kickPlayer(element player1, element player2, string reason) --[[ player1: the player who you want to kick out of the server player2: the player who kicked player1. or the root element (getRootElement()) (console) reason: The reason why player1 is kicked ]]--
Ace_Gambit Posted September 10, 2008 Posted September 10, 2008 I am not sure if this is helpful, but I am using the resource as initiator and it works fine.
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