mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-08 18:33:37 +08:00
38 lines
670 B
Markdown
38 lines
670 B
Markdown
# Table: entities
|
|
|
|
Table for manipulating GTA entities.
|
|
|
|
## Functions (3)
|
|
|
|
### `get_all_vehicles_as_handles()`
|
|
|
|
- **Returns:**
|
|
- `table<int, int>`: Returns all vehicles as script handles
|
|
|
|
**Example Usage:**
|
|
```lua
|
|
table<int, int> = entities.get_all_vehicles_as_handles()
|
|
```
|
|
|
|
### `get_all_peds_as_handles()`
|
|
|
|
- **Returns:**
|
|
- `table<int, int>`: Returns all peds as script handles
|
|
|
|
**Example Usage:**
|
|
```lua
|
|
table<int, int> = entities.get_all_peds_as_handles()
|
|
```
|
|
|
|
### `get_all_objects_as_handles()`
|
|
|
|
- **Returns:**
|
|
- `table<int, int>`: Returns all objects as script handles
|
|
|
|
**Example Usage:**
|
|
```lua
|
|
table<int, int> = entities.get_all_objects_as_handles()
|
|
```
|
|
|
|
|