Trsak
1
Client (CANARY) and server version are 4439.
I created two same commands on client side for two resources:
RegisterCommand(
'getweaponhashkey',
function()
print(GetHashKey("weapon_assaultrifle"))
print(GetSelectedPedWeapon(PlayerPedId()))
end
)
And the other one:
RegisterCommand(
'getweaponhashkeys',
function()
print(GetHashKey("weapon_assaultrifle"))
print(GetSelectedPedWeapon(PlayerPedId()))
end
)
So while holding weapon_assaultrifle I used those commands:

How is it possible, that the second one is returning different value for print(GetHashKey(“weapon_assaultrifle”))? Pretty odd to me.
nta
2
Not really a bug nor ‘odd’, signed vs. unsigned values. Can’t be made more consistent w/o breaking compatibility.
Also, incomplete info…? No mention of the manifest file contents or a full repro or anything. 