From 75c264eaceb13d3c5064de136ffac451948acf98 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Sat, 5 Jun 2021 03:14:10 -0500 Subject: [PATCH] Rebrand --- scripts/client/afk.js | 5 ++--- scripts/client/chatbox.js | 5 ++--- scripts/client/event.js | 5 ++--- scripts/client/gui.js | 5 ++--- scripts/client/item.js | 5 ++--- scripts/client/job.js | 5 ++--- scripts/client/keybind.js | 5 ++--- scripts/client/label.js | 5 ++--- scripts/client/logo.js | 5 ++--- scripts/client/main.js | 5 ++--- scripts/client/messaging.js | 5 ++--- scripts/client/nametag.js | 5 ++--- scripts/client/scoreboard.js | 5 ++--- scripts/client/server.js | 5 ++--- scripts/client/skin-select.js | 5 ++--- scripts/client/startup.js | 5 ++--- scripts/client/sync.js | 5 ++--- scripts/client/utilities.js | 5 ++--- scripts/server/accent.js | 5 ++--- scripts/server/account.js | 5 ++--- scripts/server/anticheat.js | 5 ++--- scripts/server/ban.js | 5 ++--- scripts/server/bitflag.js | 5 ++--- scripts/server/business.js | 5 ++--- scripts/server/business/bakery.js | 5 ++--- scripts/server/business/bar.js | 5 ++--- scripts/server/business/burger.js | 5 ++--- scripts/server/business/clothing.js | 5 ++--- scripts/server/business/club.js | 5 ++--- scripts/server/business/fuel.js | 5 ++--- scripts/server/business/mechanic.js | 5 ++--- scripts/server/business/pizza.js | 5 ++--- scripts/server/business/restaurant.js | 5 ++--- scripts/server/business/vehicle.js | 5 ++--- scripts/server/business/weapon.js | 5 ++--- scripts/server/chat.js | 5 ++--- scripts/server/clan.js | 5 ++--- scripts/server/class.js | 5 ++--- scripts/server/client.js | 5 ++--- scripts/server/colour.js | 5 ++--- scripts/server/command.js | 5 ++--- scripts/server/config.js | 5 ++--- scripts/server/const.js | 13 ++++++++----- scripts/server/core.js | 5 ++--- scripts/server/database.js | 5 ++--- scripts/server/developer.js | 5 ++--- scripts/server/discord.js | 5 ++--- scripts/server/economy.js | 5 ++--- scripts/server/email.js | 5 ++--- scripts/server/event.js | 5 ++--- scripts/server/fishing.js | 5 ++--- scripts/server/gamedata.js | 5 ++--- scripts/server/gui.js | 5 ++--- scripts/server/help.js | 14 +++++++------- scripts/server/house.js | 5 ++--- scripts/server/item.js | 5 ++--- scripts/server/item/drink.js | 5 ++--- scripts/server/item/food.js | 5 ++--- scripts/server/item/handcuff.js | 5 ++--- scripts/server/item/phone.js | 5 ++--- scripts/server/item/rope.js | 5 ++--- scripts/server/item/tazer.js | 5 ++--- scripts/server/item/walkie-talkie.js | 5 ++--- scripts/server/job.js | 5 ++--- scripts/server/job/bus.js | 5 ++--- scripts/server/job/drug.js | 5 ++--- scripts/server/job/fire.js | 5 ++--- scripts/server/job/garbage.js | 5 ++--- scripts/server/job/medic.js | 5 ++--- scripts/server/job/pizza-delivery.js | 5 ++--- scripts/server/job/police.js | 5 ++--- scripts/server/job/taxi.js | 5 ++--- scripts/server/job/weapon.js | 5 ++--- scripts/server/keybind.js | 5 ++--- scripts/server/locale.js | 5 ++--- scripts/server/messaging.js | 5 ++--- scripts/server/misc.js | 5 ++--- scripts/server/moderation.js | 5 ++--- scripts/server/native.js | 5 ++--- scripts/server/npc.js | 5 ++--- scripts/server/npc/biker.js | 5 ++--- scripts/server/npc/drugdealer.js | 5 ++--- scripts/server/npc/firefighter.js | 5 ++--- scripts/server/npc/gang.js | 5 ++--- scripts/server/npc/mafia.js | 5 ++--- scripts/server/npc/normal.js | 5 ++--- scripts/server/npc/paramedic.js | 5 ++--- scripts/server/npc/police.js | 5 ++--- scripts/server/radio.js | 5 ++--- scripts/server/security.js | 5 ++--- scripts/server/startup.js | 5 ++--- scripts/server/subaccount.js | 5 ++--- scripts/server/timers.js | 5 ++--- scripts/server/translate.js | 5 ++--- scripts/server/trigger.js | 5 ++--- scripts/server/tutorial.js | 5 ++--- scripts/server/utilities.js | 10 +++++----- scripts/server/vehicle.js | 5 ++--- scripts/shared/const.js | 5 ++--- scripts/shared/native.js | 5 ++--- 100 files changed, 214 insertions(+), 308 deletions(-) diff --git a/scripts/client/afk.js b/scripts/client/afk.js index 3619aaf5..725f09ad 100644 --- a/scripts/client/afk.js +++ b/scripts/client/afk.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: afk.js // DESC: Provides AFK detection diff --git a/scripts/client/chatbox.js b/scripts/client/chatbox.js index 8e84e448..a0052462 100644 --- a/scripts/client/chatbox.js +++ b/scripts/client/chatbox.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: chatbox.js // DESC: Provides extra chatbox features diff --git a/scripts/client/event.js b/scripts/client/event.js index dc0c6c42..f7fc837b 100644 --- a/scripts/client/event.js +++ b/scripts/client/event.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: event.js // DESC: Provides handlers for built in GTAC and Asshat-Gaming created events diff --git a/scripts/client/gui.js b/scripts/client/gui.js index 8003fe6b..be89da49 100644 --- a/scripts/client/gui.js +++ b/scripts/client/gui.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: gui.js // DESC: Provides GUI functionality and styles (using MexUI) diff --git a/scripts/client/item.js b/scripts/client/item.js index 0b4293fd..7e9d60fa 100644 --- a/scripts/client/item.js +++ b/scripts/client/item.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: item.js // DESC: Provides item action and hotbar functions diff --git a/scripts/client/job.js b/scripts/client/job.js index 93fca0e9..dccec8b7 100644 --- a/scripts/client/job.js +++ b/scripts/client/job.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: job.js // DESC: Provides job functions and usage diff --git a/scripts/client/keybind.js b/scripts/client/keybind.js index 0e2a214f..3abe5008 100644 --- a/scripts/client/keybind.js +++ b/scripts/client/keybind.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: keybind.js // DESC: Provides keybind features diff --git a/scripts/client/label.js b/scripts/client/label.js index 7ab9c0a8..92f565cc 100644 --- a/scripts/client/label.js +++ b/scripts/client/label.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: labels.js // DESC: Provides functionality for world labels (3D labels) diff --git a/scripts/client/logo.js b/scripts/client/logo.js index f35b5522..c80528a1 100644 --- a/scripts/client/logo.js +++ b/scripts/client/logo.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: logo.js // DESC: Provides logo rendering functions diff --git a/scripts/client/main.js b/scripts/client/main.js index 17653931..b0575b3f 100644 --- a/scripts/client/main.js +++ b/scripts/client/main.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: main.js // DESC: Main client script (will be reorganized into individual files later) diff --git a/scripts/client/messaging.js b/scripts/client/messaging.js index ebc9ee3e..aeffbe12 100644 --- a/scripts/client/messaging.js +++ b/scripts/client/messaging.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: messaging.js // DESC: Provides messaging/textdraw functions and usage diff --git a/scripts/client/nametag.js b/scripts/client/nametag.js index 732d8595..af5381d8 100644 --- a/scripts/client/nametag.js +++ b/scripts/client/nametag.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: nametags.js // DESC: Provides nametag rendering diff --git a/scripts/client/scoreboard.js b/scripts/client/scoreboard.js index e772a494..7193cb66 100644 --- a/scripts/client/scoreboard.js +++ b/scripts/client/scoreboard.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: scoreboard.js // DESC: Provides scoreboard features and rendering diff --git a/scripts/client/server.js b/scripts/client/server.js index bbc360e1..ef8a599e 100644 --- a/scripts/client/server.js +++ b/scripts/client/server.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: server.js // DESC: Provides server communication and cross-endpoint operations diff --git a/scripts/client/skin-select.js b/scripts/client/skin-select.js index 105cf305..127ad2f5 100644 --- a/scripts/client/skin-select.js +++ b/scripts/client/skin-select.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: skin-select.js // DESC: Provides skin-selector functions and usage diff --git a/scripts/client/startup.js b/scripts/client/startup.js index d411110d..1dcdcb3a 100644 --- a/scripts/client/startup.js +++ b/scripts/client/startup.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: startup.js // DESC: Provides startup/shutdown procedures diff --git a/scripts/client/sync.js b/scripts/client/sync.js index 15d09769..cd10eaa7 100644 --- a/scripts/client/sync.js +++ b/scripts/client/sync.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: sync.js // DESC: Provides some elements and data sync diff --git a/scripts/client/utilities.js b/scripts/client/utilities.js index 866a40f8..3ab499e2 100644 --- a/scripts/client/utilities.js +++ b/scripts/client/utilities.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: utilities.js // DESC: Provides util functions and arrays with data diff --git a/scripts/server/accent.js b/scripts/server/accent.js index 27e2f89e..5d039a2d 100644 --- a/scripts/server/accent.js +++ b/scripts/server/accent.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: accent.js // DESC: Provides accent functions and usage diff --git a/scripts/server/account.js b/scripts/server/account.js index 334882af..e5520250 100644 --- a/scripts/server/account.js +++ b/scripts/server/account.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: account.js // DESC: Provides account functions and usage diff --git a/scripts/server/anticheat.js b/scripts/server/anticheat.js index 28997297..9b9a055d 100644 --- a/scripts/server/anticheat.js +++ b/scripts/server/anticheat.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: anticheat.js // DESC: Provides anticheat functions and usage diff --git a/scripts/server/ban.js b/scripts/server/ban.js index d5fb7444..f45fe0bf 100644 --- a/scripts/server/ban.js +++ b/scripts/server/ban.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: bans.js // DESC: Provides ban functions and usage diff --git a/scripts/server/bitflag.js b/scripts/server/bitflag.js index ddffadf7..4fa11868 100644 --- a/scripts/server/bitflag.js +++ b/scripts/server/bitflag.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: bitflags.js // DESC: Provides bitwise operations, functions and usage diff --git a/scripts/server/business.js b/scripts/server/business.js index 27f791c6..6a7d1102 100644 --- a/scripts/server/business.js +++ b/scripts/server/business.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: business.js // DESC: Provides business functions and usage diff --git a/scripts/server/business/bakery.js b/scripts/server/business/bakery.js index 81c4f5f6..5a0d1e81 100644 --- a/scripts/server/business/bakery.js +++ b/scripts/server/business/bakery.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: bakery.js // DESC: Provides bakery business functions and usage diff --git a/scripts/server/business/bar.js b/scripts/server/business/bar.js index f7704cf1..24265882 100644 --- a/scripts/server/business/bar.js +++ b/scripts/server/business/bar.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: bar.js // DESC: Provides bar/pub business functions and usage diff --git a/scripts/server/business/burger.js b/scripts/server/business/burger.js index 0953ae3e..4de61d2b 100644 --- a/scripts/server/business/burger.js +++ b/scripts/server/business/burger.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: burger.js // DESC: Provides burger joint (McDonalds?) business functions and usage diff --git a/scripts/server/business/clothing.js b/scripts/server/business/clothing.js index ed94081c..1a38adad 100644 --- a/scripts/server/business/clothing.js +++ b/scripts/server/business/clothing.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: clothing.js // DESC: Provides clothing (skin) business functions and usage diff --git a/scripts/server/business/club.js b/scripts/server/business/club.js index 5dd2724e..80f083c4 100644 --- a/scripts/server/business/club.js +++ b/scripts/server/business/club.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: club.js // DESC: Provides club/nightclub business functions and usage diff --git a/scripts/server/business/fuel.js b/scripts/server/business/fuel.js index 6eaceb5a..217d82a4 100644 --- a/scripts/server/business/fuel.js +++ b/scripts/server/business/fuel.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: fuel.js // DESC: Provides fuel/petrol business functions and usage diff --git a/scripts/server/business/mechanic.js b/scripts/server/business/mechanic.js index bc71fb4f..6eec8be0 100644 --- a/scripts/server/business/mechanic.js +++ b/scripts/server/business/mechanic.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: mechanic.js // DESC: Provides mechanic/vehicle repair business functions and usage diff --git a/scripts/server/business/pizza.js b/scripts/server/business/pizza.js index 3e15c306..d14bb7a0 100644 --- a/scripts/server/business/pizza.js +++ b/scripts/server/business/pizza.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: pizza.js // DESC: Provides pizza restaurant business functions and usage diff --git a/scripts/server/business/restaurant.js b/scripts/server/business/restaurant.js index bcc6f8c8..0491cfca 100644 --- a/scripts/server/business/restaurant.js +++ b/scripts/server/business/restaurant.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: restaurant.js // DESC: Provides generic restaurant business functions and usage diff --git a/scripts/server/business/vehicle.js b/scripts/server/business/vehicle.js index 131db0d9..b7990e73 100644 --- a/scripts/server/business/vehicle.js +++ b/scripts/server/business/vehicle.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: vehicle.js // DESC: Provides vehicle dealership business functions and usage diff --git a/scripts/server/business/weapon.js b/scripts/server/business/weapon.js index 4af40c85..e81fc514 100644 --- a/scripts/server/business/weapon.js +++ b/scripts/server/business/weapon.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: weapon.js // DESC: Provides weapon (ammunations & illegal gunshops) business usage diff --git a/scripts/server/chat.js b/scripts/server/chat.js index 5dde8cab..3bc410df 100644 --- a/scripts/server/chat.js +++ b/scripts/server/chat.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: chat.js // DESC: Provides chat functions and usage diff --git a/scripts/server/clan.js b/scripts/server/clan.js index 49dc6e74..32ab768b 100644 --- a/scripts/server/clan.js +++ b/scripts/server/clan.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: clan.js // DESC: Provides clan functions and usage diff --git a/scripts/server/class.js b/scripts/server/class.js index 1df1ed7a..f5c0351b 100644 --- a/scripts/server/class.js +++ b/scripts/server/class.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: class.js // DESC: Provides classes diff --git a/scripts/server/client.js b/scripts/server/client.js index dbaeaa5f..75785d72 100644 --- a/scripts/server/client.js +++ b/scripts/server/client.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: client.js // DESC: Provides client communication and cross-endpoint operations diff --git a/scripts/server/colour.js b/scripts/server/colour.js index 8072e8b3..9090a7d5 100644 --- a/scripts/server/colour.js +++ b/scripts/server/colour.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: colour.js // DESC: Provides colours, functions and usage diff --git a/scripts/server/command.js b/scripts/server/command.js index 52b2ec6f..4eb7ef07 100644 --- a/scripts/server/command.js +++ b/scripts/server/command.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: command.js // DESC: Provides command data, functions and usage diff --git a/scripts/server/config.js b/scripts/server/config.js index 194b0468..73514104 100644 --- a/scripts/server/config.js +++ b/scripts/server/config.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: config.js // DESC: Provides server configuration diff --git a/scripts/server/const.js b/scripts/server/const.js index d1a528db..925c7c68 100644 --- a/scripts/server/const.js +++ b/scripts/server/const.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: const.js // DESC: Provides constants @@ -160,8 +159,8 @@ const AG_ITEM_USETYPE_PHONE = 3; // Pulls out phone const AG_ITEM_USETYPE_GPS = 4; // Not sure how I want this to work yet const AG_ITEM_USETYPE_MAP = 5; // Shows minimap on HUD const AG_ITEM_USETYPE_SKIN = 6; // Changes skin (item skin is replaced with previous skin before changing) -const AG_ITEM_USETYPE_CLOTHESUPPER = 7; // Changes upper clothing (GTA IV shirts) -const AG_ITEM_USETYPE_CLOTHESLOWER = 8; // Changes lower clothing (GTA IV pants) +const AG_ITEM_USETYPE_PEDPART = 7; // Changes ped part (clothing, skin, hair, etc) (UNUSED) +const AG_ITEM_USETYPE_PEDPROP = 8; // Changes ped prop (watches, glasses, hats, etc) (UNUSED) const AG_ITEM_USETYPE_STORAGE = 9; // Shows stored items. Backpack, crate, briefcase, wallet, etc const AG_ITEM_USETYPE_VEHKEY = 10; // Locks/unlocks a vehicle and allows starting engine without hotwire const AG_ITEM_USETYPE_BIZKEY = 11; // Locks/unlocks a business @@ -195,6 +194,10 @@ const AG_ITEM_USETYPE_SPRAYPAINT = 37; // const AG_ITEM_USETYPE_PEPPERSPRAY = 38; // const AG_ITEM_USETYPE_FLASHLIGHT = 39; // const AG_ITEM_USETYPE_AIRPLANETICKET = 40; // +const AG_ITEM_USETYPE_TRAINTICKET = 41; // +const AG_ITEM_USETYPE_VEHUPGRADE_PART = 42; // +const AG_ITEM_USETYPE_VEHTIRE = 43; // +const AG_ITEM_USETYPE_FUELCAN = 44; // // Item Drop Types const AG_ITEM_DROPTYPE_NONE = 0; // Can't be dropped diff --git a/scripts/server/core.js b/scripts/server/core.js index 15ae22fc..8f64a6da 100644 --- a/scripts/server/core.js +++ b/scripts/server/core.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: core.js // DESC: Provides core data structures, function, and operations diff --git a/scripts/server/database.js b/scripts/server/database.js index b0b2f6cd..c34076e9 100644 --- a/scripts/server/database.js +++ b/scripts/server/database.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: database.js // DESC: Provides database handling, functions and usage diff --git a/scripts/server/developer.js b/scripts/server/developer.js index effd02d2..44174703 100644 --- a/scripts/server/developer.js +++ b/scripts/server/developer.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: developer.js // DESC: Provides developer operation, commands, functions and usage diff --git a/scripts/server/discord.js b/scripts/server/discord.js index cdc2588d..1c122e91 100644 --- a/scripts/server/discord.js +++ b/scripts/server/discord.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: discord.js // DESC: Provides discord bridging and connection functions and usage diff --git a/scripts/server/economy.js b/scripts/server/economy.js index 67069306..a534eda7 100644 --- a/scripts/server/economy.js +++ b/scripts/server/economy.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: economy.js // DESC: Provides economy/financial utils, functions and usage diff --git a/scripts/server/email.js b/scripts/server/email.js index a38c0caf..36fe22a0 100644 --- a/scripts/server/email.js +++ b/scripts/server/email.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: email.js // DESC: Provides email handling, functions and usage diff --git a/scripts/server/event.js b/scripts/server/event.js index 02e2b99b..5d86e99f 100644 --- a/scripts/server/event.js +++ b/scripts/server/event.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: event.js // DESC: Provides handlers for built in GTAC and Asshat-Gaming created events diff --git a/scripts/server/fishing.js b/scripts/server/fishing.js index 08d8eba0..7db88e76 100644 --- a/scripts/server/fishing.js +++ b/scripts/server/fishing.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: fishing.js // DESC: Provides fishing functions and commands diff --git a/scripts/server/gamedata.js b/scripts/server/gamedata.js index 6432080c..c632ea1a 100644 --- a/scripts/server/gamedata.js +++ b/scripts/server/gamedata.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: game-data.js // DESC: Provides coords, ids, names, and other data for the games diff --git a/scripts/server/gui.js b/scripts/server/gui.js index 5862051c..f9bae11d 100644 --- a/scripts/server/gui.js +++ b/scripts/server/gui.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: gui.js // DESC: Provides GUI functions and usage diff --git a/scripts/server/help.js b/scripts/server/help.js index 5df17937..dbef95fc 100644 --- a/scripts/server/help.js +++ b/scripts/server/help.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: help.js // DESC: Provides update info, help commands, and documentation @@ -304,10 +303,11 @@ function showCommandHelpMessage(client, commandName) { messagePlayerNormal(client, `[#FF9900]• [#FFFFFF]Aliases: (None)`); } - if(doesPlayerHaveStaffPermission(client, getStaffFlagValue("basicModeration"))) { - //messagePlayerNormal(client, `[#FF9900]• [#FFFFFF]Required Flags: `); - messagePlayerNormal(client, `[#FF9900]• [#FFFFFF]Usable on Discord: ${getYesNoFromBool(command.allowOnDiscord)}`); - } + //messagePlayerNormal(client, `[#FF9900]• [#FFFFFF]Usable on Discord: ${getYesNoFromBool(command.allowOnDiscord)}`); + + //if(doesPlayerHaveStaffPermission(client, getStaffFlagValue("basicModeration"))) { + // messagePlayerNormal(client, `[#FF9900]• [#FFFFFF]Usable on Discord: ${getYesNoFromBool(command.allowOnDiscord)}`); + //} } // =========================================================================== diff --git a/scripts/server/house.js b/scripts/server/house.js index b83c6b33..09bde5c7 100644 --- a/scripts/server/house.js +++ b/scripts/server/house.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: house.js // DESC: Provides house commands, functions, and usage diff --git a/scripts/server/item.js b/scripts/server/item.js index e8d6d7f9..84ea29b0 100644 --- a/scripts/server/item.js +++ b/scripts/server/item.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: item.js // DESC: Provides item functions and usage diff --git a/scripts/server/item/drink.js b/scripts/server/item/drink.js index 7f7a4edd..5a05031c 100644 --- a/scripts/server/item/drink.js +++ b/scripts/server/item/drink.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: drink.js // DESC: Provides features and usage for the drink item type diff --git a/scripts/server/item/food.js b/scripts/server/item/food.js index 76b8be78..c986b228 100644 --- a/scripts/server/item/food.js +++ b/scripts/server/item/food.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: food.js // DESC: Provides features and usage for the food item type diff --git a/scripts/server/item/handcuff.js b/scripts/server/item/handcuff.js index c84d7760..f845fcc4 100644 --- a/scripts/server/item/handcuff.js +++ b/scripts/server/item/handcuff.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: handcuff.js // DESC: Provides features and usage for the handcuff item type diff --git a/scripts/server/item/phone.js b/scripts/server/item/phone.js index db4b3920..b23f9fbc 100644 --- a/scripts/server/item/phone.js +++ b/scripts/server/item/phone.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: phone.js // DESC: Provides features and usage for the phone item type diff --git a/scripts/server/item/rope.js b/scripts/server/item/rope.js index 60dc1d8e..3f7ba673 100644 --- a/scripts/server/item/rope.js +++ b/scripts/server/item/rope.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: handcuff.js // DESC: Provides features and usage for the handcuff item type diff --git a/scripts/server/item/tazer.js b/scripts/server/item/tazer.js index 1a9e9ed9..dd09a0c6 100644 --- a/scripts/server/item/tazer.js +++ b/scripts/server/item/tazer.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: tazer.js // DESC: Provides features and usage for the tazer item type diff --git a/scripts/server/item/walkie-talkie.js b/scripts/server/item/walkie-talkie.js index 9858a47d..842387c0 100644 --- a/scripts/server/item/walkie-talkie.js +++ b/scripts/server/item/walkie-talkie.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: walkie-talkie.js // DESC: Provides features and usage for the walkie-talkie item type diff --git a/scripts/server/job.js b/scripts/server/job.js index 9904940f..68ad69a9 100644 --- a/scripts/server/job.js +++ b/scripts/server/job.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: job.js // DESC: Provides job functions and usage diff --git a/scripts/server/job/bus.js b/scripts/server/job/bus.js index eabd6ae2..e255bc2f 100644 --- a/scripts/server/job/bus.js +++ b/scripts/server/job/bus.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: bus.js // DESC: Provides bus driver job functions and usage diff --git a/scripts/server/job/drug.js b/scripts/server/job/drug.js index e58d0888..90f9f93e 100644 --- a/scripts/server/job/drug.js +++ b/scripts/server/job/drug.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: drug.js // DESC: Provides drug runner/dealer job functions and usage diff --git a/scripts/server/job/fire.js b/scripts/server/job/fire.js index 962a95a7..3b6cdb51 100644 --- a/scripts/server/job/fire.js +++ b/scripts/server/job/fire.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: fire.js // DESC: Provides firefighter job functions and usage diff --git a/scripts/server/job/garbage.js b/scripts/server/job/garbage.js index 7276d140..f455ec50 100644 --- a/scripts/server/job/garbage.js +++ b/scripts/server/job/garbage.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: garbage.js // DESC: Provides garbage collector job functions and usage diff --git a/scripts/server/job/medic.js b/scripts/server/job/medic.js index f42568da..6b7cbcd9 100644 --- a/scripts/server/job/medic.js +++ b/scripts/server/job/medic.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: medic.js // DESC: Provides paramedic job functions and usage diff --git a/scripts/server/job/pizza-delivery.js b/scripts/server/job/pizza-delivery.js index debce967..7818fe46 100644 --- a/scripts/server/job/pizza-delivery.js +++ b/scripts/server/job/pizza-delivery.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: pizza-delivery.js // DESC: Provides pizza delivery driver job functions and usage diff --git a/scripts/server/job/police.js b/scripts/server/job/police.js index 8cead112..0fd610dc 100644 --- a/scripts/server/job/police.js +++ b/scripts/server/job/police.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: police.js // DESC: Provides police officer job functions and usage diff --git a/scripts/server/job/taxi.js b/scripts/server/job/taxi.js index 57039bc6..d097ef86 100644 --- a/scripts/server/job/taxi.js +++ b/scripts/server/job/taxi.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: taxi.js // DESC: Provides taxi driver job functions and usage diff --git a/scripts/server/job/weapon.js b/scripts/server/job/weapon.js index 8706030a..64faab1e 100644 --- a/scripts/server/job/weapon.js +++ b/scripts/server/job/weapon.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: weapon.js // DESC: Provides weapons dealer job functions and usage diff --git a/scripts/server/keybind.js b/scripts/server/keybind.js index 5d6cf6de..5a70260b 100644 --- a/scripts/server/keybind.js +++ b/scripts/server/keybind.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: keybind.js // DESC: Provides keybind handlers and functions diff --git a/scripts/server/locale.js b/scripts/server/locale.js index b666cbd4..b7c6d89e 100644 --- a/scripts/server/locale.js +++ b/scripts/server/locale.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: locale.js // DESC: Provides locale structures, functions and usage diff --git a/scripts/server/messaging.js b/scripts/server/messaging.js index 81d615c9..b36a78ff 100644 --- a/scripts/server/messaging.js +++ b/scripts/server/messaging.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: messaging.js // DESC: Provides messaging functions and usage diff --git a/scripts/server/misc.js b/scripts/server/misc.js index a32950d2..df30fc51 100644 --- a/scripts/server/misc.js +++ b/scripts/server/misc.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: misc.js // DESC: Provides any uncategorized functions and usage diff --git a/scripts/server/moderation.js b/scripts/server/moderation.js index 86ce0e66..b4785a62 100644 --- a/scripts/server/moderation.js +++ b/scripts/server/moderation.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: moderation.js // DESC: Provides moderation commands, functions and usage diff --git a/scripts/server/native.js b/scripts/server/native.js index 14a9d64a..1356c350 100644 --- a/scripts/server/native.js +++ b/scripts/server/native.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: native.js // DESC: Provides util function to wrap mod-specific stuff diff --git a/scripts/server/npc.js b/scripts/server/npc.js index 72b4b21d..4ac86659 100644 --- a/scripts/server/npc.js +++ b/scripts/server/npc.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: npc.js // DESC: Provides NPC usage and functions diff --git a/scripts/server/npc/biker.js b/scripts/server/npc/biker.js index 704df539..42bd940b 100644 --- a/scripts/server/npc/biker.js +++ b/scripts/server/npc/biker.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: biker.js // DESC: Provides biker NPC interaction and functionality diff --git a/scripts/server/npc/drugdealer.js b/scripts/server/npc/drugdealer.js index 43bcb88f..c9fffbe2 100644 --- a/scripts/server/npc/drugdealer.js +++ b/scripts/server/npc/drugdealer.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: drugdealer.js // DESC: Provides drug dealer NPC interaction and functionality diff --git a/scripts/server/npc/firefighter.js b/scripts/server/npc/firefighter.js index 96810c8d..76b6df10 100644 --- a/scripts/server/npc/firefighter.js +++ b/scripts/server/npc/firefighter.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: firefighter.js // DESC: Provides firefighter NPC interaction and functionality diff --git a/scripts/server/npc/gang.js b/scripts/server/npc/gang.js index 4e0d66ab..1f26972d 100644 --- a/scripts/server/npc/gang.js +++ b/scripts/server/npc/gang.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: gangsta.js // DESC: Provides street gang/hoodlum NPC interaction and functionality diff --git a/scripts/server/npc/mafia.js b/scripts/server/npc/mafia.js index 551585f6..b9e814cc 100644 --- a/scripts/server/npc/mafia.js +++ b/scripts/server/npc/mafia.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: mafia.js // DESC: Provides mafia/mafioso NPC interaction and functionality diff --git a/scripts/server/npc/normal.js b/scripts/server/npc/normal.js index e39f88aa..52b15464 100644 --- a/scripts/server/npc/normal.js +++ b/scripts/server/npc/normal.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: normal.js // DESC: Provides normal/generic civilian NPC interaction and functionality diff --git a/scripts/server/npc/paramedic.js b/scripts/server/npc/paramedic.js index 8c4087dd..1571a464 100644 --- a/scripts/server/npc/paramedic.js +++ b/scripts/server/npc/paramedic.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: paramedic.js // DESC: Provides paramedic NPC interaction and functionality diff --git a/scripts/server/npc/police.js b/scripts/server/npc/police.js index 616aad1f..5f878909 100644 --- a/scripts/server/npc/police.js +++ b/scripts/server/npc/police.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: police.js // DESC: Provides police officer NPC interaction and functionality diff --git a/scripts/server/radio.js b/scripts/server/radio.js index daf8acc3..7bbb00c9 100644 --- a/scripts/server/radio.js +++ b/scripts/server/radio.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: radio.js // DESC: Provides radio station streaming diff --git a/scripts/server/security.js b/scripts/server/security.js index 69aaf074..f6aef35f 100644 --- a/scripts/server/security.js +++ b/scripts/server/security.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: security.js // DESC: Provides security functions and usage diff --git a/scripts/server/startup.js b/scripts/server/startup.js index 208fc8bb..8349af4d 100644 --- a/scripts/server/startup.js +++ b/scripts/server/startup.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: startup.js // DESC: Provides startup/shutdown procedures diff --git a/scripts/server/subaccount.js b/scripts/server/subaccount.js index 05c22561..52f22e99 100644 --- a/scripts/server/subaccount.js +++ b/scripts/server/subaccount.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: subaccount.js // DESC: Provides subaccount (character) functions and usage diff --git a/scripts/server/timers.js b/scripts/server/timers.js index b0533c33..d39dc6f4 100644 --- a/scripts/server/timers.js +++ b/scripts/server/timers.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: timers.js // DESC: Provides timer functions and features diff --git a/scripts/server/translate.js b/scripts/server/translate.js index 19b1ce33..0770a2f3 100644 --- a/scripts/server/translate.js +++ b/scripts/server/translate.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: translate.js // DESC: Provides translation functions diff --git a/scripts/server/trigger.js b/scripts/server/trigger.js index 2e0c7797..70b1361d 100644 --- a/scripts/server/trigger.js +++ b/scripts/server/trigger.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: trigger.js // DESC: Provides trigger system functions and usage diff --git a/scripts/server/tutorial.js b/scripts/server/tutorial.js index ea29d2e2..37530e18 100644 --- a/scripts/server/tutorial.js +++ b/scripts/server/tutorial.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: tutorial.js // DESC: Provides tutorial functions and features diff --git a/scripts/server/utilities.js b/scripts/server/utilities.js index 4ff1b125..65be22ba 100644 --- a/scripts/server/utilities.js +++ b/scripts/server/utilities.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: utilities.js // DESC: Provides util functions and arrays with data @@ -1569,9 +1568,10 @@ function generateRandomPhoneNumber() { // =========================================================================== function doesNameContainInvalidCharacters(name) { + let disallowedCharacters = getGlobalConfig().subAccountNameAllowedCharacters; + name = toLowerCase(name); for(let i = 0; i < name.length; i++) { - let strChar = name.charAt(i).toLowerCase(); - if(getGlobalConfig().subAccountNameAllowedCharacters.toLowerCase().indexOf(strChar) == -1) { + if(disallowedCharacters.toLowerCase().indexOf(name.charAt(i)) == -1) { return true; } } diff --git a/scripts/server/vehicle.js b/scripts/server/vehicle.js index 39bcc871..7e46b62a 100644 --- a/scripts/server/vehicle.js +++ b/scripts/server/vehicle.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: vehicle.js // DESC: Provides vehicle functions and usage diff --git a/scripts/shared/const.js b/scripts/shared/const.js index 8617fe2a..802dca4e 100644 --- a/scripts/shared/const.js +++ b/scripts/shared/const.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: const.js // DESC: Provides constants diff --git a/scripts/shared/native.js b/scripts/shared/native.js index 772e7654..4dacbeec 100644 --- a/scripts/shared/native.js +++ b/scripts/shared/native.js @@ -1,7 +1,6 @@ // =========================================================================== -// Asshat-Gaming Roleplay -// https://github.com/VortrexFTW/gtac_asshat_rp -// Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) +// Vortrex's Roleplay Resource +// https://github.com/VortrexFTW/gtac_roleplay // =========================================================================== // FILE: native.js // DESC: Provides util funcs for native wrapping