stock bool:xs_plane_rayintersect(const Float:plane, const Float:rayStart, const Float:rayDir, Float:out)
The plane to check intersection with.
The starting point of the ray.
Direction in which the ray is going.
The vector to copy the intersection point to, if it exists.
Checks whether a plane intersects with the ray starting at @rayStart and
going to @rayDir direction.
If it does intersect, outputs the intersection point in @out.
true if they intersect, false otherwise.