SteveDee 2 Posted September 18, 2018 Hi i've got a little question. Is it possible to remove world objects? So game standard obejcts. I tried with mp.game.object.deleteObject(mp.game.object.getClosestObjectOfType(-28.52094, -2543.323, 5.001884, 1.0, -531344027, false, true, true)); but it doesnt work. Share this post Link to post Share on other sites
Larvell 2 Posted September 19, 2018 we use (in c#) NAPI.World.DeleteWorldProp(Hash, new Vector3(posX, posY, posZ), (1.0f)); 1 Share this post Link to post Share on other sites
Enerv 3 Posted September 23, 2018 JavaScript Client-side function:https://wiki.rage.mp/index.php?title=Entity::createModelHide Example of removal of the street lamp within the place of spawn: mp.game.entity.createModelHide(0, 0, 0, 100, mp.game.joaat('prop_streetlight_01'), true); 1 Share this post Link to post Share on other sites