Anonymous

Not logged in

  • Log in
Onset Developer Wiki

GetPlayerId

From Onset Developer Wiki

Namespaces

  • Page
  • Discussion

More

  • More

Page actions

  • Read
  • View source
  • History
GetPlayerId

Type: Function
Context: Client
Introduced: v1.0

Contents

  • 1 Description
  • 2 Syntax
    • 2.1 Parameters
    • 2.2 Return Value
  • 3 Example
  • 4 See also

Description

Return id of the player.

Syntax

GetPlayerId()

Parameters

  • This function has no parameters.

Return Value

  • Returns playerid.

Example

local id = GetPlayerId()

See also

  • TogglePlayerTag
  • SetPlayerVoiceTone
  • GetPlayerActor
  • GetPlayerSkeletalMeshComponent
  • GetPlayerId
  • SetPlayerPropertyValue
  • GetPlayerPropertyValue
  • SetPlayerRotationRate
  • GetPlayerRotationRate
  • GetPlayerWeapon
  • GetWeaponType
  • GetPlayerWeaponMuzzleLocation
  • GetPlayerBoneNames
  • GetAllPlayersInSphere
  • GetAllPlayersInBox
  • GetTerrainHeight
  • EnableFirstPersonCamera
  • IsFirstPersonCamera
  • SetControllerOrientedMovement
  • IsValidPlayer
  • GetPlayerName
  • GetStreamedPlayers
  • GetPlayerLocation
  • GetPlayerHeading
  • IsPlayerTalking
  • GetPlayerHealth
  • GetPlayerArmor
  • GetPlayerMovementMode
  • GetPlayerMovementSpeed
  • IsPlayerAiming
  • IsPlayerReloading
  • IsPlayerDead
  • GetPlayerBoneLocation
  • SetPlayerOutline
  • SetPlayerClothingPreset
  • GetPlayerVehicle
  • IsPlayerInVehicle
  • GetPlayerEquippedWeaponSlot
  • GetPlayerForwardVector
  • GetPlayerRightVector
  • GetPlayerUpVector
  • GetVehicleActor
  • SetPlayerLipMovement
  • IsPlayerPlayingAnimation
  • GetPlayerCount
  • CancelAimImmediately
Retrieved from "https://dev.playonset.com/index.php?title=GetPlayerId&oldid=4479"

Navigation

Navigation

  • Main page
  • Recent changes
  • Random page
  • Help about MediaWiki
  • Steam Forums
  • Discord
  • Special pages

Wiki tools

Wiki tools

    Page tools

    Page tools

      User page tools

        More

        • What links here
        • Related changes
        • Printable version
        • Permanent link
        • Page information
        • Page logs
        • (c) 2025 Blue Mountains GmbH
        • Powered by MediaWiki
        • This page was last edited on 8 October 2020, at 16:38.
        • Content is available under (c) 2025 Blue Mountains GmbH unless otherwise noted.
        • Privacy policy
        • About Onset Developer Wiki
        • Disclaimers