mirror of
https://github.com/iDisaster/GTAConnected.git
synced 2026-03-15 12:51:49 +00:00
Fix MP skin errors and set default theme to gray
This commit is contained in:
@@ -28,7 +28,7 @@ let currentDescription = "";
|
|||||||
// ============================================================================
|
// ============================================================================
|
||||||
// THEME SYSTEM
|
// THEME SYSTEM
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
let currentTheme = "red"; // Default theme
|
let currentTheme = "gray"; // Default theme
|
||||||
|
|
||||||
const themes = {
|
const themes = {
|
||||||
black: { primary: { r: 80, g: 80, b: 80 }, accent: { r: 150, g: 150, b: 150 }, name: "Black" },
|
black: { primary: { r: 80, g: 80, b: 80 }, accent: { r: 150, g: 150, b: 150 }, name: "Black" },
|
||||||
@@ -1797,9 +1797,8 @@ addNetworkHandler("ModMenu:ExecuteSkinChange", function(skinId) {
|
|||||||
let skins = [-1667301416, -163448165, 1936355839, -1938475496, 970234525];
|
let skins = [-1667301416, -163448165, 1936355839, -1938475496, 970234525];
|
||||||
skinId = skins[Math.floor(Math.random() * skins.length)];
|
skinId = skins[Math.floor(Math.random() * skins.length)];
|
||||||
} else if (skinId === "random_mp_boy") {
|
} else if (skinId === "random_mp_boy") {
|
||||||
// GTA IV Male Multiplayer Models
|
// GTA IV Male Models (known working)
|
||||||
let mpBoySkins = [
|
let mpBoySkins = [
|
||||||
-2128807429, // M_Y_MULTIPLAYER
|
|
||||||
-1667301416, // Niko
|
-1667301416, // Niko
|
||||||
-163448165, // Roman
|
-163448165, // Roman
|
||||||
1936355839, // Little Jacob
|
1936355839, // Little Jacob
|
||||||
@@ -1807,26 +1806,17 @@ addNetworkHandler("ModMenu:ExecuteSkinChange", function(skinId) {
|
|||||||
970234525, // Playboy X
|
970234525, // Playboy X
|
||||||
-1784875845, // Johnny Klebitz
|
-1784875845, // Johnny Klebitz
|
||||||
-1403507487, // Luis Lopez
|
-1403507487, // Luis Lopez
|
||||||
-1320879687, // Cop
|
-1320879687 // Cop
|
||||||
1443978022, // M_Y_DEALER
|
|
||||||
-912318012, // M_Y_VENDOR
|
|
||||||
-1667689785, // M_Y_STREET01
|
|
||||||
-1211943886 // M_Y_STREET03
|
|
||||||
];
|
];
|
||||||
skinId = mpBoySkins[Math.floor(Math.random() * mpBoySkins.length)];
|
skinId = mpBoySkins[Math.floor(Math.random() * mpBoySkins.length)];
|
||||||
} else if (skinId === "random_mp_girl") {
|
} else if (skinId === "random_mp_girl") {
|
||||||
// GTA IV Female Multiplayer Models
|
// GTA IV Female Models (known working)
|
||||||
let mpGirlSkins = [
|
let mpGirlSkins = [
|
||||||
1169442145, // F_Y_MULTIPLAYER
|
-1023568870, // Michelle
|
||||||
1373447347, // F_Y_HOOKER01
|
-500457657, // Kate McReary
|
||||||
-508062018, // F_Y_HOOKER03
|
1169304744, // Carmen
|
||||||
850294525, // F_Y_NURSE
|
-549913813, // Kiki
|
||||||
1516709984, // F_Y_STRIPPERC01
|
-1704668829 // Alex
|
||||||
1550780888, // F_Y_STRIPPERC02
|
|
||||||
-404810207, // F_Y_STREET01
|
|
||||||
-1655683801, // F_Y_SOCIALITE
|
|
||||||
1863975754, // F_Y_BUSINESS01
|
|
||||||
1109375790 // F_Y_JOGGER01
|
|
||||||
];
|
];
|
||||||
skinId = mpGirlSkins[Math.floor(Math.random() * mpGirlSkins.length)];
|
skinId = mpGirlSkins[Math.floor(Math.random() * mpGirlSkins.length)];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user