Files
overextended.github.io/docs/ox_lib/Raycast/Client.md
T
2022-12-03 12:57:01 +11:00

475 B

lib.raycast.cam

Starts a shapetest originating from the camera, extending to ~10m.

function lib.raycast.cam(flags, p8) end

Return:

  • hit: boolean
  • entityHit: number
  • endCoords: vector3
  • surfaceNormal: vector3
  • materialHash: number