diff --git a/scripts/server/command.js b/scripts/server/command.js index 88d0a7bb..c4d5ddee 100644 --- a/scripts/server/command.js +++ b/scripts/server/command.js @@ -411,8 +411,10 @@ function loadCommands() { npc: [ new CommandData("addnpc", createNPCCommand, "", getStaffFlagValue("ManageNPCs"), true, false, "Creates an NPC with the specified skin"), new CommandData("delnpc", deleteNPCCommand, "", getStaffFlagValue("ManageNPCs"), true, false, "Deletes the nearest NPC"), - //new CommandData("npcinfo", getNPCInfoCommand, "", getStaffFlagValue("ManageNPCs"), true, false, "Shows info about the nearest NPC"), + new CommandData("npcinfo", getNPCInfoCommand, "", getStaffFlagValue("ManageNPCs"), true, false, "Shows info about the nearest NPC"), new CommandData("npcanim", setNPCAnimationCommand, "", getStaffFlagValue("ManageNPCs"), true, false, "Plays the specified animation on the nearest NPC"), + new CommandData("npcname", setNPCNameCommand, "", getStaffFlagValue("ManageNPCs"), true, false, "Sets the name of the nearest NPC"), + new CommandData("npclookatplr", toggleNPCLookAtClosestPlayerCommand, "", getStaffFlagValue("ManageNPCs"), true, false, "Makes the NPC look at the closest player"), //new CommandData("npcrespawnall", respawnAllNPCsCommand, "", getStaffFlagValue("ManageNPCs"), true, false, "Respawns all NPCs"), //new CommandData("npcrespawn", respawnNPCCommand, "", getStaffFlagValue("ManageNPCs"), true, false, "Respawns the nearest NPC"), ], @@ -523,6 +525,8 @@ function loadCommands() { utilities: [], vehicle: [ new CommandData("addveh", createVehicleCommand, "", getStaffFlagValue("ManageVehicles"), true, false), + //new CommandData("spawnveh", createVehicleCommand, "", getStaffFlagValue("ManageVehicles"), true, false), + //new CommandData("createveh", createVehicleCommand, "", getStaffFlagValue("ManageVehicles"), true, false), new CommandData("tempveh", createTemporaryVehicleCommand, "", getStaffFlagValue("ManageVehicles"), true, false), new CommandData("delveh", deleteVehicleCommand, "", getStaffFlagValue("ManageVehicles"), true, false), new CommandData("nearveh", getNearbyVehiclesCommand, "", getStaffFlagValue("None"), true, false),