10.06.2020, 13:20
u have to insert id in front of function like giveItem(id, ..) id is id of player that u lookin at. No matter is it focus or not. Whatever to create such function u can use getPlayerFocus. Also to not add parameter id is not make sense because every player have seperate focus. (I'm talking about server side / DONT do that on client side becouse of security).