Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/27/21 in all areas

  1. Look what you can replace this `forEachByType`, I can't do it now. // client-side mp.dummies.forEachByType(1001, (entity) => { mp.game.object.doorControl( entity.getVariable("doorHash"), entity.getVariable("x"), entity.getVariable("y"), entity.getVariable("z"), entity.getVariable("locked"), entity.getVariable("p5"), entity.getVariable("p6"), entity.getVariable("p7") ); }); // server-side // interface (id: number, dimension: number, values: {}) mp.dummies.new(1001, 0, { // fill in your details doorHash: '', x = 0.0, y = 0.0, z = 0.0, locked: false, p5 = 0.0, p6 = 0.0, p7 = 0.0, });
    1 point
  2. If you're in development environment just use nodemon $ nodemon --watch packages --watch client_packages --exec \"./server.exe\"
    1 point
×
×
  • Create New...