mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-17 05:56:01 +01:00
fix: index id twice
This commit is contained in:
@@ -68,7 +68,7 @@ end)
|
|||||||
-- Update the characters clothes.
|
-- Update the characters clothes.
|
||||||
RegisterNetEvent("ND:updateClothes", function(clothing)
|
RegisterNetEvent("ND:updateClothes", function(clothing)
|
||||||
local player = source
|
local player = source
|
||||||
local character = NDCore.Players[player].id
|
local character = NDCore.Players[player]
|
||||||
NDCore.Functions.SetPlayerData(character.id, "clothing", clothing)
|
NDCore.Functions.SetPlayerData(character.id, "clothing", clothing)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user