diff --git a/scripts/server/command.js b/scripts/server/command.js index 3c93a87c..318ce9ca 100644 --- a/scripts/server/command.js +++ b/scripts/server/command.js @@ -109,8 +109,9 @@ function loadCommands() { commandData("bizitemprice", setBusinessItemSellPriceCommand, " ", getStaffFlagValue("None"), true, true, "Sets the purchase price of a business item"), commandData("bizname", setBusinessNameCommand, "", getStaffFlagValue("None"), true, true, "Changes a business name"), commandData("bizowner", setBusinessOwnerCommand, "", getStaffFlagValue("None"), true, true, "Changes the owner of a business"), + commandData("bizdelowner", removeBusinessOwnerCommand, "", getStaffFlagValue("ManageBusinesses"), true, true, "Removes the owner of a business"), commandData("bizpublic", setBusinessPublicCommand, "", getStaffFlagValue("ManageBusinesses"), true, true, "Changes a business to public (city hall, govt buildings, etc)"), - commandData("bizpublic", setBusinessJobCommand, "", getStaffFlagValue("ManageBusinesses"), true, true, "Changes the owner of a business to a job"), + commandData("bizjob", setBusinessJobCommand, "", getStaffFlagValue("ManageBusinesses"), true, true, "Changes the owner of a business to a job"), commandData("bizrank", setBusinessRankCommand, "", getStaffFlagValue("None"), true, true, "Changes the job/clan rank required to use the business"), commandData("bizclan", setBusinessClanCommand, "", getStaffFlagValue("None"), true, true, "Changes the owner of a business to a clan"), commandData("bizbuyprice", setBusinessBuyPriceCommand, "", getStaffFlagValue("None"), true, true, "Changes the price to buy the business"), @@ -473,9 +474,9 @@ function loadCommands() { commandData("vehbuyprice", setVehicleBuyPriceCommand, "", getStaffFlagValue("None"), true, true), commandData("stoprent", stopRentingVehicleCommand, "", getStaffFlagValue("None"), true, true), commandData("vehbuy", buyVehicleCommand, "", getStaffFlagValue("None"), true, true), - commandData("vehcolour", vehicleAdminColourCommand, " ", getStaffFlagValue("None"), true, true), - commandData("vehlivery", vehicleAdminLiveryCommand, "", getStaffFlagValue("None"), true, true), - commandData("vehrepair", vehicleAdminRepairCommand, "", getStaffFlagValue("None"), true, true), + commandData("vehcolour", vehicleAdminColourCommand, " ", getStaffFlagValue("ManageVehicles"), true, true), + commandData("vehlivery", vehicleAdminLiveryCommand, "", getStaffFlagValue("ManageVehicles"), true, true), + commandData("vehrepair", vehicleAdminRepairCommand, "", getStaffFlagValue("ManageVehicles"), true, true), commandData("passenger", enterVehicleAsPassengerCommand, "", getStaffFlagValue("None"), true, true), ], };