Skip to content
school
Documentação ESX
ESX.SetPlayerData
Digite para iniciar a pesquisa
Organização ESX
Home
ES Extended Docs
school
Documentação ESX
Organização ESX
Home
Home
Index
Instalação
FAQ
Créditos
ES Extended Docs
ES Extended Docs
Index
Common
Common
Functions
Functions
ESX.GetRandomString
ESX.GetWeaponComponent
ESX.GetWeaponLabel
ESX.GetWeaponList
ESX.Math.GroupDigits
ESX.Math.Round
ESX.Math.Trim
ESX.SetTimeout
ESX.ClearTimeout
ESX.DumpTable
Events
Events
esx:onPlayerDeath
Client
Client
Functions
Functions
ESX.GetPlayerData
ESX.IsPlayerLoaded
ESX.SetPlayerData
ESX.ShowAdvancedNotification
ESX.ShowHelpNotification
ESX.ShowInventory
ESX.ShowNotification
ESX.TriggerServerCallback
Game
Game
ESX.Game.DeleteObject
ESX.Game.DeleteVehicle
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
ESX.Game.GetVehicleProperties
ESX.Game.GetVehicles
ESX.Game.GetVehiclesInArea
ESX.Game.IsSpawnPointClear
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.ShowPopupMessage
ESX.Scaleform.ShowTrafficMovie
Utils
Utils
ESX.Scaleform.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
Events
Events
esx:playerLoaded
esx:showAdvancedNotification
esx:showHelpNotification
esx:showNotification
Server
Server
Functions
Functions
ESX.CreatePickup
ESX.GetItemLabel
ESX.GetPlayerFromId
ESX.GetPlayerFromIdentifier
ESX.GetPlayers
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
ESX.SetPlayerData
¶
1
ESX
.
SetPlayerData
(
key
,
val
)
This function sets player data.