rock-mod
Version:
Rock-Mod is a powerful framework designed for creating and managing mods for Grand Theft Auto (GTA) games.
13 lines (12 loc) • 523 B
JavaScript
import { RageEntity } from "../entity/RageEntity";
export class RageObject extends RageEntity {
constructor(options) {
super(options);
}
attachTo(entity, boneIndex, xPos, yPos, zPos, xRot, yRot, zRot, useSoftPinning, collision, isPed, vertexIndex, fixedRot) {
this.mpEntity.attachTo(entity, boneIndex, xPos, yPos, zPos, xRot, yRot, zRot, false, useSoftPinning, collision, isPed, vertexIndex, fixedRot);
}
isAttachedTo(entity) {
return this.mpEntity.isAttachedTo(entity);
}
}