sm.localPlayer.getId

Returns the unique player id of the local player.

Kind: Function

Environments: Game

Game

sm.localPlayer.getId(  )

Open the full Game reference

Availability: Client only

Returns:

Type Description
integer The player's id.