Jump to content

offsetx

Members
  • Posts

    23
  • Joined

  • Last visited

  • Days Won

    1

offsetx last won the day on January 9 2021

offsetx had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

offsetx's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In Rare

Recent Badges

1

Reputation

  1. https://github.com/Blackbandit1804/uHRP-RAGEMP lol?? Mr. "Dev" r u ok
  2. my bad nice developing lol but i think i got the source code in another lang xDDDD
    horrible panner lol
  3. just connect
  4. offsetx

    .

    you can use Raycasting here's a example on wiki https://wiki.rage.mp/index.php?title=Raycasting::testPointToPoint function pointingAt(distance) { const camera = mp.cameras.new("gameplay"); // gets the current gameplay camera let position = camera.getCoord(); // grab the position of the gameplay camera as Vector3 let direction = camera.getDirection(); // get the forwarding vector of the direction you aim with the gameplay camera as Vector3 let farAway = new mp.Vector3((direction.x * distance) + (position.x), (direction.y * distance) + (position.y), (direction.z * distance) + (position.z)); // calculate a random point, drawn on a invisible line between camera position and direction (* distance) let result = mp.raycasting.testPointToPoint(position, farAway, null, 17); // now test point to point - intersects with map and objects [1 + 16] return result; // and return the result ( undefined, if no hit ) }
  5. I accepted the rules three weeks ago and I still can't access the channel. Can anyone invite me? Discord
  6. I tried to raycasting to determine some walls but it returns getShapeTestResult is undefined
  7. Have this been implement yet? @ragempdev There were 5 large RageMP community in China that had 2K players together, due to this issue 3 of them were shut down I own one of the rest, I had 400 players at peak but 200 for now, I tried Google IME API(deprecated) in CEF page or native game input but they didn't work well as I expect, I hope it could be added in next update.
  8. ..... use cef
  9. bump it seems weird
  10. I have a ColShape Event to SetSharedData when Player enters and reset it when they leave but ResetSharedData seems not working GetSharedData always return true after resetting I replaced them with NAPI.Entity.SetSharedData or SetData they works
  11. mp.events.add("loop",() => { let amount = 1; let data= [{name: "w", price: 200}, {name: "w", price: 200}]; let array = [0, 1, 2, 3, 4, 5, 6, 7, 8]; const native = new Menu("HELLO WORLD", " ", resolution); let list = new UIMenuListItem("list", "something..", new ItemsCollection(array)); native.AddItem(list); data.forEach(item => { let _item = new UIMenuItem("name: " + item.name, "price: " + item.price); native.AddItem(_item); }) native.ListChange.on((item, index) => { amount = index + 1; }); })
  12. I'm working on an animation wheel script, everything works perfect in browser but hover & click events are not working in game.
×
×
  • Create New...