GetEntitySlice
Get the slice id from a entity
| Argument | Data Type | Needed | Default | Description |
|---|---|---|---|---|
entity | entity | - | The entity that whe need to get the slice id |
Returns
| Data Type | Description |
|---|---|
| number | The slice id |
Example
local slice = GetEntitySlice(PlayerPedId())
print("Current slice: "..slice)