Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/14/20 in all areas

  1. Version 1.0.0

    490 downloads

    This script adds the suicide feature of GTA Online. You can commit suicide by using /suicide command. Your character will shoot itself if you're holding a pistol and take pills otherwise. Installing Put the files you downloaded in their respective places Add require('suicide') to client_packages/index.js All done
    1 point
  2. Hi all, I'm having a bit of the issue with getting front of player cords. When I run the scrip the angle seems to be random.... let x = mp.players.local.position.x; let y = mp.players.local.position.y; let z = mp.players.local.position.z; let nx = x + (1.2 * Math.sin(mp.players.local.getHeading() + 180)); let ny = y + (1.2 * Math.cos(mp.players.local.getHeading() + 180)); let sadsad = mp.cameras.new("authCam", new mp.Vector3(nx, ny, z + 0.7), new mp.Vector3(0, 0, 0), 40); sadsad.pointAtCoord(x, y, z + 0.7); sadsad.setActive(true); mp.game.cam.renderScriptCams(true, false, 0, true, false);
    1 point
  3. Nevermind... sorted. Had to convert angle to radians... lul let radians = -mp.players.local.getHeading()*Math.PI/180; let nx = x + (1.2 * Math.sin(radians)); let ny = y + (1.2 * Math.cos(radians));
    1 point
  4. What issue did you run into using the one on the homepage?
    1 point
  5. its not working with LINUX
    0 points
×
×
  • Create New...