mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 06:28:54 +00:00
1 parent
5850640094
commit
8ca3c1bdfc
21 files changed
+190
-7
No files matched your search
@@ -3,13 +3,14 @@
|
||||
Starts a shapetest originating from the camera, extending to ~10m.
|
||||
|
||||
```lua
|
||||
function lib.raycast.cam(flags, p8) end
|
||||
lib.raycast.cam(flags, ignore, distance)
|
||||
```
|
||||
|
||||
* flags?: `number`
|
||||
* Defaults to 1|2|8|16 (see: https://docs.fivem.net/natives/?_0x377906D8A31E5586)
|
||||
* p8?: `number`
|
||||
* 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:
|
||||
|
||||
|
||||
Reference in new issue
Block a user