mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 02:08:55 +00:00
Update player.lua
fix for `subValue` arg in `setMeta` function
This commit is contained in:
@@ -642,7 +642,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory,
|
||||
if _type ~= "string" then
|
||||
return print(("[^1ERROR^7] xPlayer.setMeta ^5value^7 should be ^5string^7 as a subIndex!"):format(value))
|
||||
end
|
||||
|
||||
self.metadata[index] = table.create(0, 0)
|
||||
self.metadata[index][value] = subValue
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user