- Versions: Client 6114/beta, FXServer 6117, GTA 2699
-
Expectation: Expecting
GetPedDecorations
to return the same hash as used to apply decorations inAddPedDecorationFromHashes
-
Reality:
GetPedDecorations
returns the unsigned version of the correct hash - Category: Ped natives
- Repro code:
Citizen.CreateThread(function()
ClearPedDecorations(PlayerPedId())
AddPedDecorationFromHashes(PlayerPedId(), `mpbeach_overlays`, `FM_Hair_Fuzz`)
print('Expecting decoration', `mpbeach_overlays`, `FM_Hair_Fuzz`)
for _, decoration in pairs(GetPedDecorations(PlayerPedId())) do
print('Got decoration', decoration[1], decoration[2])
end
end)
Output of above:
Expecting decoration -1719270477 -1824026490
Got decoration 2575696819 2470940806