English Solved How to revive and kick player from server using GUI?

  • Auteur de la discussion Auteur de la discussion Paris
  • Date de début Date de début

Paris

User
25/6/21
9
0
100
I created the variable _player in GUI to get the player information. I want to know how to write scripts if I want to revive the player and kick the player out of the server. First, thank you for your help!
 
If I select a player in the UI and use the variable _player to store player information, I can use _player hideObject true; Order him to be invisible. Now I want to resurrect the player. What should I do? And what should I do to kick out the player?
 
I just want to do two functions, but I don't know how to write scripts. One is to revive players and the other is to kick players out of the server.
 
" SERVER _ ADMIN _ PASSWORD " SERVER command格式["#kick %1 ",(name _ player)]; This command doesn't seem to work very well.