I need to make a heal function for my Mod. The users calls a command when pointing at a teammate, and it should heal him if the distance isn't very far.
get_user_aiming() // Does this return the id of the user its pointing at?
And how do i set the function only to be run if the distance is like a max of 2 meters?