Skip to content

Commit

Permalink
Merge pull request #50 from altmp/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Jengas authored Dec 15, 2024
2 parents dedcc07 + efe1e44 commit 8788bfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions bindings/src/client/entities/Object.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,10 +294,12 @@ export class _NetworkObject extends _Object {
}
update(key, value) {
if (key === (internalName('rotation'))) {
if (!this.#handle) return; // TODO: Remove this error supressor once moved to Server-Sided objects
const rot = value ?? alt.Vector3.zero;
natives.setEntityRotation(this.#handle, value.x, value.y, value.z, 2, false);
}
if (key === (internalName('alpha'))) {
if (!this.#handle) return; // TODO: Remove this error supressor once moved to Server-Sided objects
if (value >= 255) {
natives.resetEntityAlpha(this.#handle);
} else {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ragemp-altv-bridge",
"version": "1.0.11",
"version": "1.0.12",
"description": "RAGE Multiplayer alt:V Bridge. This package provides a bridge between RAGE Multiplayer and alt:V. It allows you to use RAGEMP code in alt:V.",
"keywords": [
"ragemp",
Expand Down

1 comment on commit 8788bfa

@danpaf
Copy link

@danpaf danpaf commented on 8788bfa Dec 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ну оно так не работает :/

Please sign in to comment.