Use adminOrange instead of adminRed

This commit is contained in:
Vortrex
2022-04-28 16:26:35 -05:00
parent 18296c83b4
commit 54bc30f5dc
11 changed files with 125 additions and 86 deletions

View File

@@ -178,6 +178,7 @@ let serverColours = {
clanOrange: "FF9900",
vehiclePurple: "960096",
jobYellow: "FFFF00",
adminOrange: "ED4337",
},
},
@@ -223,6 +224,7 @@ let serverColours = {
houseGreen: toColour(17, 204, 17, 255),
clanOrange: toColour(255, 153, 0, 255),
npcPink: toColour(219, 112, 147, 255),
adminOrange: toColour(205, 60, 60, 255),
},
};
@@ -2678,6 +2680,14 @@ function removeColoursInMessage(messageText) {
return "";
}
if(typeof messageText != "string") {
return "";
}
if(messageText == "") {
return "";
}
let tempFind = `{RESETCOLOUR}`;
let tempRegex = new RegExp(tempFind, 'g');
messageText = messageText.replace(tempRegex, "");