Skip to main content

Hanging & Execution

Hanging & Execution

Info

Trailer
Showcase
BUY HERE
BUY MAP

General benefits and script support

Dependencies & Installation

  • Put the script in the server and add ensure "script_name" to server.cfg
  • enjoy...

Config demo

Open Config
config.lua

Config = {}

Config.Debug = true

Config.Server = {
Language = 'en', -- the language that is used in Config.Texts
NotifCustom = false, -- if you want to use custom notifications in client_open.lua
CustomFramework = false, -- if the framework doesn't load correctly it can be set here manually
MetaTarget = false, -- Use prompt (false) or target (true)
}

Config.Jobs = 'unemployed'

Config.Prompt = {
start = 0x760A9C6F,
kick = 0xE30CD707,
lever = 0x760A9C6F,
cut = 0x760A9C6F,
resetLever = 0x760A9C6F,
leverDown = 0xC7B5340A,
up = 0x6319DB71,
down = 0x05CA7C52,
}

Config.GreenBlood = false -- changing the red colour of the blood in "Dead Cam" to green, an option for people who don't want it so "brutal"

Config.Ring = { -- 3D ring style
marker = 0x6903B113, -- https://github.com/femga/rdr3_discoveries/blob/abb136bdaa71f18fc8a683b0b7d5699b7f4820f6/graphics/markers/marker_types.lua#L6
scale = vec3(1.0,1.0,1.0), -- Scale XYZ
r = 120, -- [0 - 255]
g = 0, -- [0 - 255]
b = 0, -- [0 - 255]
a = 100, -- [0 - 255]
}

Config.Chances = {
timeMin = 5, -- minimum braising time (in seconds)
timeMax = 40, -- Maximum braising time (in seconds)
instantDeath = 15, -- chance of instantaneous death from a broken neck (percentage)
}

Config.hanging = {
[1] = { -- Valentine
startCoords = vector4(-312.5973, 731.9740, 118.0092, 200.0065),
lever = vector4(-314.1962, 730.9147, 120.7082, 114.2886),
hang = {
[1] = {
coords = vector4(-314.3131, 729.2864, 120.7022, 100.1334),
height = 2.14,
propRope = true -- if you want to spawn on a beam on a person's prop rope, if it is already in the map, put false
},
[2] = {
coords = vector4(-315.1255, 733.6245, 120.7022, 98.4684),
height = 2.14,
propRope = false
}
},
},

[2] = { -- BlackWater
startCoords = vector4(-757.9807, -1260.6145, 43.5835, 176.3449),
lever = vector4(-766.9637, -1261.8715, 47.5259, 4.5240),
hang = {
[1] = {
coords = vector4(-764.21, -1259.85, 47.4859, 1.7534),
height = 2.1,
propRope = false,
}
},
},
[3] = { -- Rhodes
startCoords = vector4(1369.4375, -1216.5295, 83.5420, 266.8709),
lever = vector4(1373.0331, -1216.4760, 84.3291, 269.4791),
hang = {
[1] = {
coords = vector4(1375.0014, -1215.2178, 84.3172, 259.8527),
height = 2.1,
propRope = false,
}
},
},

[4] = { -- Strawberry
startCoords = vector4(-1805.0438, -343.5262, 164.8310, 23.9300),
lever = vector4(-1806.6031, -337.0213, 167.7732, 274.5401),
prop = {
model = 's_gallowsdoor01x',
onAngel = -90,
offAngel = -3,
},
hang = {
[1] = {
coords = vector4(-1806.55, -333.64, 167.6521, 261.3767),
height = 1.9,
propRope = false,
}
},
},
}

Config.dmgPerPercent = 2 -- how many HP means one percent of power, Decimal numbers can be set.
Config.dmgInterval = 3000 -- ms

Config.electricChair = {
[1] = { -- Saint Denis
startCoords = vector4(2691.7434, -1117.7260, 50.7782, 16.7700),
chairCoords = vector4(2688.85, -1116.99, 50.7185, 173.00),
lever = vector4(2686.4319, -1116.6193, 50.7282, 277.2029),
},
}

Config.Texts = {
['en'] = {
promptStart = 'start execution',
hanging = 'Execution',
floor = 'Trapdoor',
cancel = 'cancel execution',
rip = 'Rest in peace',
dieText = 'You have died',
turnOn = 'On',
turnOff = 'Off',
power = 'Power',
status = 'Status',
notif = {
noJob = 'You don’t have the required tools',
ropeShot = 'The rope loosened, someone must really like you',
noPerson = 'You have no one to execute',
noEmpty = 'Someone is still on the rope, can’t close',
noKnife = 'You don’t have a knife',
isTurnOn = 'The machine must be turned off',
noPlace = 'No space for another person',
},
prompt = {
start = 'start execution',
startDesc = 'Gallows',
kickLever = 'Kick the lever',
push = 'Pull the lever',
leverDesc = 'Trapdoor lever',
cutRope = 'Cut the rope',
knife = 'Use knife',
resetLever = 'Pull the lever back',
closeFloor = 'Close trapdoor',
leverDown = 'Pull the lever down',
leverUp = 'More',
leverLow = 'Less',
chair = 'Electric chair',
placePlayer = 'Place person',
outPlayer = 'Release person',
},
},
},
}

Addon Map

  • you can buy a map that adds Annesburg, Armadillo, Tumbleweed and Sisika prison gallows BUY MAP
Addon Map for config.lua
    [5] = { -- Annesburg 
startCoords = vector4(2900.9343, 1293.6355, 45.5798, 358.5537),
lever = vector4(2905.7788, 1303.0326, 47.9746, 243.3671),
prop = {
model = 's_gallowsstairs04x',
onAngel = -90,
offAngel = -3,
},
hang = {
[1] = {
coords = vector4(2906.18, 1300.83, 47.9712, 259.2625),
height = 1.8,
propRope = false,
}
},
},

[6] = { -- Armadilo
startCoords = vector4(-3711.0569, -2668.3088, -9.7702, 23.9688),
lever = vector4(-3708.6685, -2663.0881, -9.7311, 72.6994),
prop = {
model = 's_gallowsstairs03x',
onAngel = -90,
offAngel = -3,
},
hang = {
[1] = {
coords = vector4(-3710.64, -2664.88, -9.7560, 89.4374),
height = 1.9,
propRope = false,
}
},
},

[7] = { -- Tumbleweed
startCoords = vector4(-5557.6128, -2917.3904, 1.2311, 207.5413),
lever = vector4(-5561.3940, -2913.6331, 1.2202, 152.1291),
prop = {
model = 's_gallowsstairs03x',
onAngel = -90,
offAngel = -3,
},
hang = {
[1] = {
coords = vector4(-5560.12, -2915.98, 1.2002, 139.2597),
height = 1.9,
propRope = false,
}
},
},

[8] = { -- prison Sisika
startCoords = vector4(3334.1050, -675.8644, 45.5770, 142.0667),
lever = vector4(3332.2083, -676.6694, 47.5912, 22.3577),
prop = {
model = 's_gallowsstairs04x',
onAngel = -90,
offAngel = -3,
},
hang = {
[1] = {
coords = vector4(3331.84, -678.54, 47.5813, 293.2883),
height = 2.25,
propRope = true,
}
},
},

IPL

if you don't have an electric chair loaded in Saint Denis, you need to add a map with this number in your IPL script

-2124415277

RequestImap(-2124415277)

Changelog

No information to display.