Rantin Posted February 5, 2020 Posted February 5, 2020 Hello, I saw this code, I wanted to know how to do it [Command("kick")] public void CMD_Kick(Client client, Client player, string grund) client - sender player - recipient
xForcer Posted February 5, 2020 Posted February 5, 2020 You would have to access the target player (recipient) via his ID or Name public void CMD_Kick(Client client, string idOrName, string grund) Then implement the logic for looping all IDs and Names and find the exact one you want
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