Skip to content
ESX Documentation
ESX.GetPlayerData
Initializing search
ESX Framework
ESX Documentation
ESX Framework
Index
F.A.Q
Credits
ES Extended Docs
ES Extended Docs
Index
Installation
Common
Common
Events
Events
esx:onPlayerDeath
Functions
Functions
ESX.ClearTimeout
ESX.DumpTable
ESX.GetConfig
ESX.GetRandomString
ESX.GetWeapon
ESX.GetWeaponComponent
ESX.GetWeaponLabel
ESX.GetWeaponList
ESX.Math.GroupDigits
ESX.Math.Round
ESX.SetTimeout
ESX.Math.Trim
Client
Client
Events
Events
esx:playerLoaded
esx:showAdvancedNotification
esx:showHelpNotification
esx:showNotification
Functions
Functions
ESX.GetPlayerData
ESX.IsPlayerLoaded
ESX.SetPlayerData
ESX.ShowAdvancedNotification
ESX.ShowFloatingHelpNotification
ESX.ShowHelpNotification
ESX.ShowInventory
ESX.ShowNotification
ESX.TriggerServerCallback
Game
Game
ESX.Game.DeleteObject
ESX.Game.DeleteVehicle
ESX.Game.GetClosestEntity
ESX.Game.GetClosestObject
ESX.Game.GetClosestPed
ESX.Game.GetClosestPlayer
ESX.Game.GetClosestVehicle
ESX.Game.GetObjects
ESX.Game.GetPedMugshot
ESX.Game.GetPeds
ESX.Game.GetPlayers
ESX.Game.GetPlayersInArea
ESX.Game.GetVehicleInDirection.md
ESX.Game.GetVehicleProperties
ESX.Game.GetVehicles
ESX.Game.GetVehiclesInArea
ESX.Game.IsSpawnPointClear
ESX.Game.IsVehicleEmpty
ESX.Game.SetVehicleProperties
ESX.Game.SpawnLocalObject
ESX.Game.SpawnLocalVehicle
ESX.Game.SpawnObject
ESX.Game.SpawnVehicle
ESX.Game.Teleport
Utils
Utils
ESX.Game.Utils.DrawText3D
Scaleform
Scaleform
ESX.Scaleform.ShowBreakingNews
ESX.Scaleform.ShowFreemodeMessage
ESX.Scaleform.ShowPopupWarning
ESX.Scaleform.ShowTrafficMovie
Utils
Utils
ESX.Scaleform.Utils.RequestScaleformMovie
Streaming
Streaming
ESX.Streaming.RequestAnimDict
ESX.Streaming.RequestAnimSet
ESX.Streaming.RequestModel
ESX.Streaming.RequestNamedPtfxAsset
ESX.Streaming.RequestStreamedTextureDict
ESX.Streaming.RequestWeaponAsset
Ui
Ui
ESX.UI.ShowInventoryItemNotification
Hud
Hud
ESX.UI.HUD.RegisterElement
ESX.UI.HUD.RemoveElement
ESX.UI.HUD.SetDisplay
ESX.UI.HUD.UpdateElement
Menu
Menu
ESX.UI.Menu.Close
ESX.UI.Menu.CloseAll
ESX.UI.Menu.GetOpened
ESX.UI.Menu.IsOpen
ESX.UI.Menu.Open
ESX.UI.Menu.RegisterType
Server
Server
Functions
Functions
ESX.CreatePickup
ESX.DoesJobExist
ESX.GetItemLabel
ESX.GetPlayerFromId
ESX.GetPlayerFromIdentifier
ESX.GetPlayers
ESX.RegisterCommand
ESX.RegisterServerCallback
ESX.RegisterUsableItem
ESX.SavePlayer
ESX.SavePlayers
ESX.Trace
ESX.UseItem
xPlayer
xPlayer
Functions
Functions
xPlayer.addAccountMoney
xPlayer.addInventoryItem
xPlayer.addMoney
xPlayer.addWeapon
xPlayer.addWeaponAmmo
xPlayer.addWeaponComponent
xPlayer.canCarryItem
xPlayer.canSwapItem
xPlayer.getAccount
xPlayer.getAccounts
xPlayer.getCoords
xPlayer.getGroup
xPlayer.getIdentifier
xPlayer.getInventory
xPlayer.getInventoryItem
xPlayer.getJob
xPlayer.getLoadout
xPlayer.getMissingAccounts
xPlayer.getMoney
xPlayer.getName
xPlayer.getWeapon
xPlayer.getWeight
xPlayer.hasWeapon
xPlayer.hasWeaponComponent
xPlayer.kick
xPlayer.removeAccountMoney
xPlayer.removeInventoryItem
xPlayer.removeMoney
xPlayer.removeWeapon
xPlayer.removeWeaponAmmo
xPlayer.removeWeaponComponent
xPlayer.setAccountMoney
xPlayer.setCoords
xPlayer.setInventoryItem
xPlayer.setJob
xPlayer.setMaxWeight
xPlayer.setMoney
xPlayer.setName
xPlayer.setWeaponTint
xPlayer.showHelpNotification
xPlayer.showNotification
xPlayer.triggerEvent
xPlayer.updateCoords
Commands
Commands
Admin
Admin
Car
Clear Loadout
Clear All
Clear Inventory
Delete Vehicle
Give Account Money
Give Item
Give Weapon
Give Weapon Component
Administration principals
Save
Save All
Set Account Money
Set Coords
Set Group
Set Job
ES Extended v2 Docs
ES Extended v2 Docs
Index
Installation
Modules
Scripting manual
Scripting manual
Data
Data
Config
Translations
Events
Events
Listening Events
Triggering Events
Common
Common
Events
Events
esx:player:death
Functions
Functions
utils.printWarning
Game
Game
utils.game.isAnimalModel
utils.game.isFreemodeModel
utils.game.isHumanModel
Math
Math
math.groupDigits
math.round
math.roundVec3
Random
Random
utils.random.inRange
utils.random.isLucky
String
String
utils.string.parsetpl
utils.string.random
Table
Table
utils.table.dump
Time
Time
utils.time.fromTimestamp
Vehicle
Vehicle
utils.vehicle.generateRandomPlate
Weapon
Weapon
utils.weapon.get
utils.weapon.getAll
utils.weapon.getComponent
utils.weapon.getFromHash
utils.weapon.getLabel
Client
Client
Functions
Functions
Game
Game
utils.game.createLocalObject
utils.game.createLocalVehicle
utils.game.createObject
utils.game.createVehicle
utils.game.doSpawn
EnumerateObjects
EnumeratePeds
EnumeratePickups
EnumerateVehicles
utils.game.requestModel
Hud
Hud
HUD.RegisterElement
HUD.RemoveElement
Input
Input
DisableControl
EnableControl
IsControlEnabled
IsControlPressed
IsControlRegistered
IsDisabledControlPressed
RegisterControl
UnregisterControl
Interact
Interact
Register
Math
Math
utils.math.polar3DToWorld3D
utils.math.rotateAround
utils.math.screen2DToWorld3D
utils.math.world3DtoPolar3D
Time
Time
utils.time.timestamp
Ui
Ui
Menu
Menu
Menu:destroy
Notification
Notification
utils.ui.howFloatingHelpNotification
utils.ui.showAdvancedNotification
utils.ui.showHelpNotification
utils.ui.showNotification
ESX.GetPlayerData
¶
ESX
.
GetPlayerData
()
This function gets player data.