mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 06:28:54 +00:00
new ox_lib imports
This commit is contained in:
1 parent
95c905b7b2
commit
49cf6d1d93
4 files changed
+39
-1
No files matched your search
@@ -0,0 +1,14 @@
|
||||
### lib.raycast.cam
|
||||
|
||||
Starts a shapetest originating from the camera, extending to ~10m.
|
||||
|
||||
```lua
|
||||
---@param fov number? GetFinalRenderedCamFov
|
||||
---@param ratio number? GetAspectRatio
|
||||
---@param flag number? Defaults to 1|2|8|16 (see: https://docs.fivem.net/natives/?_0x377906D8A31E5586)
|
||||
---@return number entityHit
|
||||
---@return vector3 endCoords
|
||||
---@return vector3 surfaceNormal
|
||||
---@return number materialHash
|
||||
function lib.raycast.cam(fov, ratio, flag) end
|
||||
```
|
||||
Reference in new issue
Block a user