This is a quick and simple guide to the basics of installing and playing with mods on Grand Theft Auto V for Single Player. It won't cover MP mods like FiveM, or script hooks that start the game with a custom launcher. Modding GTA:O is not welcome here and will not be discussed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using GTA; | |
using GTA.Native; | |
public class Gears : Script { | |
Random random = new Random(); | |
public Gears() { | |
Tick += OnTick; | |
Interval = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Xbox Controller layout, full options | |
; Toggle: Dpad Right (Hold) | |
; Shift up: A | |
; Shift down: X | |
; Clutch: Left Thumb Down | |
; Engine: Dpad Right | |
; Neutral: X (Hold) | |
; Keyboard without numpad or laptop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "Numpad++", | |
"author": "ikt", | |
"switchMount": "cherry", | |
"switchBrand": "gateron", | |
"switchType": "KS-3-White", | |
"plate": true | |
}, | |
[ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Raycast version | |
*/ | |
using System; | |
using GTA; | |
using GTA.Math; | |
using GTA.Native; | |
public class Raycast : Script | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Runtime.InteropServices; | |
using System.Runtime.Remoting.Channels; | |
using GTA.Math; | |
using GTA.Native; | |
namespace GTA.examples | |
{ | |
public class WheelData : Script |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Runtime.InteropServices; | |
using System.Runtime.Remoting.Channels; | |
using GTA.Math; | |
using GTA.Native; | |
namespace GTA.examples | |
{ | |
public class WheelPositions : Script |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdint> | |
#include <tuple> | |
#include <vector> | |
#include <algorithm> | |
#include <string> | |
#include <random> | |
#include <chrono> | |
#include <iostream> | |
typedef uint32_t Hash; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Search version | |
* Due to having multiple entries we can do fancy stuff like fade-in, | |
* fade-out, depending on distance, and showing multiple boxes. | |
*/ | |
using System; | |
using System.CodeDom.Compiler; | |
using System.Collections.Generic; | |
using System.Drawing; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function drawTxt(x,y ,width,height,scale, text) | |
SetTextFont(0) | |
SetTextProportional(0) | |
SetTextScale(scale, scale) | |
SetTextColour(255, 255, 255, 255) | |
SetTextDropShadow(0, 0, 0, 0,255) | |
SetTextEdge(1, 0, 0, 0, 255) | |
SetTextDropShadow() | |
SetTextOutline() | |
SetTextEntry("STRING") |
OlderNewer