Skip to content

Instantly share code, notes, and snippets.

// Build 1604 - Online Version 1.46 (Arena War DLC)
// Mirror of https://rage.mp/forums/topic/2949-arena-war146-hashes/
// Vehicles
// Name - Hash - Class
impaler3 - 0x8D45DF49 - Muscle
monster4 - 0x32174AFC - Off-Road
monster5 - 0xD556917C - Off-Road
slamvan6 - 0x67D52852 - Muscle
issi6 - 0x49E25BA1 - Compacts
// Build 1493 - Online Version 1.44 (After Hours DLC)
// Mirror of https://rage.mp/forums/topic/1991-after-hours144-hashes/
// Vehicles
// Name - Hash - Class
stafford - 0x1324E960 - Sedans
scramjet - 0xD9F0503D - Super
strikeforce - 0x64DE07A1 - Planes
terbyte - 0x897AFC65 - Commercial
pbus2 - 0x149BD32A - Service
Model: w_sg_pumpshotgunh4 | Position: 4988.403, -5714.156, 24.537 | Rotation: 18.999, -80.956, 135
Model: w_sg_pumpshotgunh4 | Position: 5020.05, -5695.7, 19.08 | Rotation: 18.999, -80.956, -263.161
Model: w_sg_pumpshotgunh4 | Position: 5073.074, -5750.114, 14.87 | Rotation: 18.999, -80.956, 310.743
Model: w_sg_pumpshotgunh4 | Position: 5069.16, -5776.973, 15.51 | Rotation: 18.999, -80.956, 84.994
Model: w_sg_pumpshotgunh4 | Position: 5016.1, -5811.182, 16.665 | Rotation: 18.999, -80.956, 0
Model: w_sg_pumpshotgunh4 | Position: 5050.424, -5774.56, 15.46 | Rotation: 18.999, -80.956, 325
Model: w_sg_pumpshotgunh4 | Position: 5014.52, -5761.442, 15.47 | Rotation: 18.999, -80.956, -317.5
Model: w_sg_pumpshotgunh4 | Position: 5027.178, -5783.129, 15.51 | Rotation: 18.999, -80.956, 300
Model: w_sg_pumpshotgunh4 | Position: 5035.96, -5731.309, 16.27 | Rotation: 18.999, -80.956, 275
Model: h4_prop_h4_box_ammo_02a | Position: -150.585, -2852.332, -17.97 | Rotation: 6.93, -12.505, 42.719
Model: h4_prop_h4_box_ammo_02a | Position: -540.975, -2465.579, -18.201 | Rotation: -3.725, 5.157, -50.113
Model: h4_prop_h4_box_ammo_02a | Position: 15.332, -2323.989, -14.224 | Rotation: 0, 0, -50.113
Model: h4_prop_h4_box_ammo_02a | Position: 461.483, -2386.212, -10.055 | Rotation: 0.176, -10.399, 31.103
Model: h4_prop_h4_box_ammo_02a | Position: 839.554, -2782.746, -20.516 | Rotation: 3.144, 5.187, 30.96
Model: h4_prop_h4_box_ammo_02a | Position: 1309.934, -2985.761, -21.344 | Rotation: 6.235, -6.625, -79.279
Model: h4_prop_h4_box_ammo_02a | Position: 1394.588, -3371.972, -17.855 | Rotation: -3.636, 2.344, 179.396
Model: h4_prop_h4_box_ammo_02a | Position: 1067.032, -3610.489, -52.777 | Rotation: -9.683, 8.618, 93.527
Model: h4_prop_h4_box_ammo_02a | Position: 371.111, -3226.341, -19.88 | Rotation: 0.449, -5.026, 12.346
Model: h4_prop_h4_box_ammo_02a | Position: -1365.19, -3701.575, -32.056 | Rotation:
Model: h4_prop_h4_chest_01a | Position: 4877.765, -4781.151, 1.1379 | Rotation: 0, 0, -37.6001
Model: h4_prop_h4_chest_01a | Position: 4535.187, -4703.817, 1.1286 | Rotation: -16.001, -8.1005, -167.2001
Model: h4_prop_h4_chest_01a | Position: 3900.632, -4704.919, 3.4813 | Rotation: 0, 0, -33.4003
Model: h4_prop_h4_chest_01a | Position: 4823.484, -4323.176, 4.6816 | Rotation: 0.5934, -5.1189, -151.3745
Model: h4_prop_h4_chest_01a | Position: 5175.097, -4678.938, 1.4205 | Rotation: 0, 0, 121.999
Model: h4_prop_h4_chest_01a | Position: 5590.951, -5216.847, 13.351 | Rotation: 0, 0, 133.5989
Model: h4_prop_h4_chest_01a | Position: 5457.795, -5860.773, 19.0936 | Rotation: 6.2094, -0.5745, 131.63
Model: h4_prop_h4_chest_01a | Position: 4855.598, -5561.794, 26.5093 | Rotation: -1.6305, 4.4383, -168.9018
Model: h4_prop_h4_chest_01a | Position: 4854.77, -5162.729, 1.4387 | Rotation: 0, 0, 52.0909
Model: h4_prop_h4_chest_01a | Position: 4178.294, -4357.763, 1.5826 | Rotation: -4.7479, -2.6377, 66.5816
const VFX_MODE_DEFAULT = 0;
const VFX_MODE_ALIEN = 1;
const VFX_MODE_CLOWN = 2;
async function requestNamedPtfxAssetAsync(ptfxAssetName) {
mp.game.streaming.requestNamedPtfxAsset(ptfxAssetName);
while (!mp.game.streaming.hasNamedPtfxAssetLoaded(ptfxAssetName)) {
await mp.game.waitAsync();
}
-95.2155, 6395.659, 30.452
1665.939, 4970.212, 41.2591
2647.317, 4255.757, 43.7764
1434.347, 3662.849, 33.1201
857.869, 2849.551, 56.575
-1901.913, 2055.253, 139.6933
2310.338, 2542.258, 45.6677
-2230.174, 4225.861, 45.7994
-2952.948, 408.6126, 14.1516
1909.135, 573.2956, 174.8217
Model: sum_prop_ac_wifaaward_01a | Position: 94.202, -1294.965, 29.067 | Rotation: 0, 0, 162.199
Model: sum_Prop_AC_FilmReel_01a | Position: -1010.051, -502.175, 36.493 | Rotation: 70.469, 65.317, 144.253
Model: sum_Prop_AC_AlienHead_01a | Position: 2517.254, 3789.326, 53.698 | Rotation: 0, 1, -93.347
Model: sum_Prop_AC_Clapperboard_01a | Position: -2349.036, 3270.785, 32.968 | Rotation: 84.5331, -12.007, 45.9
Model: sum_Prop_AC_HeadDress_01a | Position: 1165.416, 247.5531, -50.73 | Rotation: -23.469, -91.781, 171.343
Model: sum_Prop_AC_MummyHead_01a | Position: -41.795, 2873.231, 59.625 | Rotation: 0, 0, 56.998
Model: sum_Prop_AC_MonsterMask_01a | Position: -1169.573, 4926.988, 223.7279 | Rotation: -4.274, 0, 84.998
// Possible van spawns, not confirmed
Model: REBEL | Position: -290.654, 6303.431, 30.492 | Heading: 115.0
function getUserInputAsync(options) {
const {
title = "", // Title shown on the input box
defaultText = "", // Default value of the input box
maxLength = 32, // Obvious enough, maximum length of the input
showMaxLength = false, // If true, will display max length on title
trimResult = true, // Removes whitespace from the player's input
rejectIfEmpty = true, // If true, empty input causes promise rejection instead of resolving with an empty string
timeout = 0 // If higher than 0, input box will close & promise will be rejected with the reason "timeout" if the player fails to write something in specified milliseconds.
} = options || {};
ACCS_DECL
AIR_CLOTH
AIR_DRAW_0
AIR_DRAW_2
AIR_DRAW_3
ALLOW_TIES
ALT_CHAIN
ALT_FEET
ALT_HELMET
ALT_JBIB