GetSliceCoordsFromCoords
Get the slice coords from a coords
Argument | Data Type | Needed | Default | Description |
---|---|---|---|---|
coords | vector3 | - | The coords of where whe need to get the coords |
Returns
Data Type | Description |
---|---|
vector2 | The x and the y of the center of the slice |
Example
local playerCoords = GetEntityCoords(PlayerPedId())
local slice = GetSliceCoordsFromCoords(playerCoords)
print("The center of that slice is "..slice)
Last update: April 12, 2022
Created: January 6, 2022
Created: January 6, 2022