rock-mod
Version:
Rock-Mod is a powerful framework designed for creating and managing mods for Grand Theft Auto (GTA) games.
12 lines (11 loc) • 370 B
JavaScript
import { RageWorldObjectsManager } from "../worldObject/RageWorldObjectsManager";
export class RageEntitiesManager extends RageWorldObjectsManager {
constructor(options) {
super(options);
}
unregisterById(id) {
const existingObject = this.getByID(id);
this.unregisterBaseObject(existingObject);
return existingObject;
}
}