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)
Last update: April 12, 2022
Created: June 27, 2021
Created: June 27, 2021