Skip to content

GetPlayerSlice

Get the slice id from a player index (client id)

Argument Data Type Needed Default Description
player Player - The player that whe need to get the slice id
Returns
Data Type Description
number The slice id

Example
local slice = GetPlayerSlice(PlayerId())

print("Current slice: "..slice)

Last update: April 12, 2022
Created: June 27, 2021