[SOLVED]Special DarkRP Question

Hello, i want to know if anybody know’s how to do it like when i Press the Button “In Einheit aufnehmen” example2 i want to set the job of the Player to the Job of the Player that pressed the button.

https://darkrp.miraheze.org/wiki/Functions/Player/Server/changeTeam