GetPlayerId: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|Return id of the player.}} {{FuncSyntax|GetPlayerId()}} {{FuncParameters}} {{FuncNoParam}} {{FuncReturnValue|Returns playeri..." |
No edit summary |
||
Line 14: | Line 14: | ||
local id = GetPlayerId() | local id = GetPlayerId() | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{RelatedFunctions}} | |||
*[[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]] |
Latest revision as of 16:38, 8 October 2020
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