From 7630be643f66178f1fdcf4c305f8298bbe5d84bb Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Sun, 13 Feb 2022 19:34:22 -0600 Subject: [PATCH] Add stuck cmd + health, armor, & infiniterun cmds for admin --- scripts/server/command.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/server/command.js b/scripts/server/command.js index fa64ea0a..7e2ba6e0 100644 --- a/scripts/server/command.js +++ b/scripts/server/command.js @@ -393,6 +393,7 @@ function loadCommands() { commandData("yes", playerPromptAnswerYesCommand, "", getStaffFlagValue("None"), true, false, "Answers a prompt with YES"), commandData("no", playerPromptAnswerNoCommand, "", getStaffFlagValue("None"), true, false, "Answers a prompt with NO"), commandData("admins", listOnlineAdminsCommand, "", getStaffFlagValue("None"), true, false, "Shows a list of online admins"), + commandData("stuck", stuckPlayerCommand, "", getStaffFlagValue("None"), true, false, "Fixes your position and virtual world if bugged"), ], radio: [ commandData("radiostation", playStreamingRadioCommand, "", getStaffFlagValue("None"), true, false, "Plays a radio station in your vehicle, house, or business (depending on which one you're in)"), @@ -446,6 +447,9 @@ function loadCommands() { commandData("geoip", getPlayerGeoIPInformationCommand, "", getStaffFlagValue("BasicModeration"), true, true, "Retrieves GeoIP information on a player (country & city)"), commandData("ip", getPlayerIPInformationCommand, "", getStaffFlagValue("BasicModeration"), true, true, "Retrieves IP information on a player"), commandData("plrsync", toggleSyncForElementsSpawnedByPlayer, "", getStaffFlagValue("BasicModeration"), true, true, "Sets whether elements spawned by a player are synced (traffic, peds, etc)"), + commandData("health", setPlayerHealthCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Sets a player's armour"), + commandData("infiniterun", setPlayerInfiniteRunCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Toggles a player's infinite sprint"), ], startup: [], subAccount: [