feat(functions): added inventory to character

This commit is contained in:
Andyyy7666
2022-09-06 08:18:27 +02:00
committed by GitHub
parent 310eed2e2b
commit f93b5808ad

View File

@@ -251,7 +251,8 @@ function NDCore.Functions.SetActiveCharacter(player, characterId)
phoneNumber = i.phone_number,
groups = json.decode(i.groups),
lastLocation = json.decode(i.last_location),
clothing = json.decode(i.clothing)
clothing = json.decode(i.clothing),
inventory = json.decode(i.intentory)
}
end
TriggerClientEvent("ND:setCharacter", player, NDCore.Players[player])