Jump to content

1 Screenshot

About This File

This is a public release of the object editor used on the Mafia City Roleplay server. 

Usage client-side: 

let obj = mp.objects.new(mp.game.joaat(model), new mp.Vector3(position.x, position.y, position.z));
mp.events.call('objecteditor:start', obj.id);
mp.events.add('objecteditor:finish', (objId, pos, rot) => {
  if(obj.id == objId) {
    // send pos and rot to server and save or do whatever.
    return;
  }
});

 

Github Link: https://github.com/Ahmad45123/ragemp-objecteditor

  • Like 5

User Feedback

Create an account or sign in to leave a review

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

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

Norbooo

   1 of 1 member found this review helpful 1 / 1 member

beast

Guest Zoloft

  

Legend

×
×
  • Create New...