mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 22:21:48 +00:00
move ox_lib modules to subdirectory
This commit is contained in:
1 parent
97b129e0fa
commit
ba094e1fb3
42 files changed
+1
-1
No files matched your search
@@ -0,0 +1,21 @@
|
||||
### lib.raycast.cam
|
||||
|
||||
Starts a shapetest originating from the camera, extending to ~10m.
|
||||
|
||||
```lua
|
||||
lib.raycast.cam(flags, ignore, distance)
|
||||
```
|
||||
|
||||
* flags?: `number`
|
||||
* Defaults to 1|2|8|16 (see: https://docs.fivem.net/natives/?_0x377906D8A31E5586)
|
||||
* ignore?: `number`
|
||||
* A bit mask with bits 1, 2, 4, or 7 relating to collider types. 4 and 7 are usually used.
|
||||
* distance?: `number`
|
||||
|
||||
Return:
|
||||
|
||||
* hit: `boolean`
|
||||
* entityHit: `number`
|
||||
* endCoords: `vector3`
|
||||
* surfaceNormal: `vector3`
|
||||
* materialHash: `number`
|
||||
Reference in new issue
Block a user