altv-issues
altv-issues copied to clipboard
getForHandlingName errors
Description of the problem
[09:26:30][Error] [V8] Exception at core:client/systems/handling.js:87 [09:26:30][Error] const handling = alt.HandlingData.getForHandlingName(vehicle.handling.handlingN... [09:26:30][Error] Error: Failed to convert argument 1 to uint32 at client/systems/handling.js:87:36
Reproduction steps
alt.on("enteredVehicle", (vehicle, seat) => { const handling = alt.HandlingData.getForHandlingName(vehicle.handling.handlingNameHash); alt.log(handling); });
/veh cheburek
Expected behaviour
We successfully got handling data
Additional context
With oracle everything works good, maybe this problem are model based and can be reproduced not only with cheburek
Operating system
Windows 11
Version
8.4 (release)
jester3, buffalo4 affects too
Happens for me on some dlc vehicles too
I can assume it was caused by a bug in the js module https://github.com/altmp/altv-js-module/commit/cc61215cacfc8f2da210dfff690965197b54df2e
handlingNameHash
on cheburek now returns the correct hash
Dlc vehicles still seem to be broken
Can we maybe close this since we already have #1173?
Yea we can close this one here as resolved then