Jump to content
RAGE Multiplayer Community

How open/close gate


Onixs
 Share

Recommended Posts

  • 3 weeks later...

Get door hash here https://plebmasters.de/?app=objects or here https://cdn.rage.mp/public/odb/index.html

Get door position from a command /save

Server-side:

mp.events.addCommand('save', (player) => {
	console.log(`${player.position.x}, ${player.position.y}, ${player.position.z}, ${player.heading}`);
});

console.log write your server folder in file .output

 

Client-side, remove object:

Client-side exemple:

mp.game.entity.createModelHide(-877.8521118164062, 20.00386619567871, 45.253021240, 10.0, -844827165, true);

 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...