Skip to content

Commit

Permalink
server: add handlingnamehash to vehiclemodelinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
C0kkie committed Sep 18, 2023
1 parent 18397ad commit 54f5cf2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/src/bindings/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ static void GetVehicleModelByHash(const v8::FunctionCallbackInfo<v8::Value>& inf
infoObj->Set(ctx, V8Helpers::JSValue("bones"), boneArr);

infoObj->Set(ctx, V8Helpers::JSValue("canAttachCars"), V8Helpers::JSValue(modelInfo.canAttachCars));
infoObj->Set(ctx, V8Helpers::JSValue("handlingNameHash"), V8Helpers::JSValue(modelInfo.handlingNameHash));

V8_RETURN(infoObj);
}
Expand Down

0 comments on commit 54f5cf2

Please sign in to comment.