Yeah, i'm making another mod, and I need a code that allows a player for fire a raycast from his Eye Vector, and then see if it collides with another Player, and if it works, return that player.
echo(containerRayCast($EyeVec,VectorScale($EyeVec,5),$TypeMasks::PlayerObjectType,-1));
Is what I tried.
$EyeVec is a variable I defined using this:
$EyeVec = findClientByName("Arukemo").player.getEyeVector();
Whenever I do the first code above, it returns 0. Help :c