mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-18 14:26:03 +01:00
feat(functions): added inventory to character
This commit is contained in:
@@ -251,7 +251,8 @@ function NDCore.Functions.SetActiveCharacter(player, characterId)
|
|||||||
phoneNumber = i.phone_number,
|
phoneNumber = i.phone_number,
|
||||||
groups = json.decode(i.groups),
|
groups = json.decode(i.groups),
|
||||||
lastLocation = json.decode(i.last_location),
|
lastLocation = json.decode(i.last_location),
|
||||||
clothing = json.decode(i.clothing)
|
clothing = json.decode(i.clothing),
|
||||||
|
inventory = json.decode(i.intentory)
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
TriggerClientEvent("ND:setCharacter", player, NDCore.Players[player])
|
TriggerClientEvent("ND:setCharacter", player, NDCore.Players[player])
|
||||||
|
|||||||
Reference in New Issue
Block a user