From 8a564b803f191bac4fc2d236ae1aac7867cab0fe Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Sun, 25 Jul 2021 22:13:09 -0500 Subject: [PATCH] Add "e" anim alias, forceskin, oldcar/oldveh cmds --- scripts/server/command.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/server/command.js b/scripts/server/command.js index 71a24d81..eea6b5ae 100644 --- a/scripts/server/command.js +++ b/scripts/server/command.js @@ -53,6 +53,7 @@ function loadCommands() { animation: [ commandData("anim", playPlayerAnimationCommand, "", getStaffFlagValue("none"), true, true, "Makes your player ped use an animation"), commandData("an", playPlayerAnimationCommand, "", getStaffFlagValue("none"), true, true, "Makes your player ped use an animation"), + commandData("e", playPlayerAnimationCommand, "", getStaffFlagValue("none"), true, true, "Makes your player ped use an animation"), commandData("anims", showAnimationListCommand, "", getStaffFlagValue("none"), true, true, "Shows a list of animations"), commandData("animlist", showAnimationListCommand, "", getStaffFlagValue("none"), true, true, "Shows a list of animations"), ], @@ -327,6 +328,8 @@ function loadCommands() { commandData("nonrpname", forceCharacterNameChangeCommand, "", getStaffFlagValue("basicModeration"), true, true, "Forces a player to change their current character's name."), commandData("forcename", forceCharacterNameCommand, " ", getStaffFlagValue("basicModeration"), true, true, "Changes a character's name directly."), + + commandData("forceskin", forcePlayerSkinCommand, " ", getStaffFlagValue("basicModeration"), true, true, "Changes a character's name directly."), ], security: [], startup: [], @@ -354,6 +357,11 @@ function loadCommands() { commandData("tempveh", createTemporaryVehicleCommand, "", getStaffFlagValue("manageVehicles"), true, false), commandData("delveh", deleteVehicleCommand, "", getStaffFlagValue("manageVehicles"), true, false), + commandData("oldveh", getLastVehicleInfoCommand, "", getStaffFlagValue("none"), true, false), + commandData("lastveh", getLastVehicleInfoCommand, "", getStaffFlagValue("none"), true, false), + commandData("oldcar", getLastVehicleInfoCommand, "", getStaffFlagValue("none"), true, false), + commandData("lastcar", getLastVehicleInfoCommand, "", getStaffFlagValue("none"), true, false), + commandData("lock", vehicleLockCommand, "", getStaffFlagValue("none"), true, false), commandData("unlock", vehicleLockCommand, "", getStaffFlagValue("none"), true, false), commandData("engine", vehicleEngineCommand, "", getStaffFlagValue("none"), true, false),