diff --git a/scripts/server/command.js b/scripts/server/command.js index fa1f232c..1caa6346 100644 --- a/scripts/server/command.js +++ b/scripts/server/command.js @@ -541,12 +541,11 @@ function loadCommands() { new CommandData("stafftitle", setPlayerStaffTitleCommand, "", getStaffFlagValue("ManageAdmins"), true, true, "Sets a player's staff title."), new CommandData("givemoney", givePlayerMoneyCommand, " ", getStaffFlagValue("serverManager"), true, true), new CommandData("nonrpname", forceCharacterNameChangeCommand, "", getStaffFlagValue("BasicModeration"), true, true, "Forces a player to change their current character's name."), - new CommandData("setname", setCharacterNameCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Changes a character's name directly."), - new CommandData("setskin", setPlayerSkinCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Changes a character's skin."), - new CommandData("setaccent", setPlayerAccentCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Changes a character's accent."), - new CommandData("setfightstyle", setPlayerFightStyleCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Changes a character's fight style."), - //new CommandData("setfightstyle", setPlayerFightStyleCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Changes a character's fight style."), - new CommandData("setstars", setPlayerWantedLevelCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Forces a player to have a wanted level"), + new CommandData("setname", forceCharacterNameCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Changes a character's name directly."), + new CommandData("setskin", forcePlayerSkinCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Changes a character's skin."), + new CommandData("setaccent", forcePlayerAccentCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Changes a character's accent."), + new CommandData("setfightstyle", forcePlayerFightStyleCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Changes a character's fight style."), + new CommandData("setstars", forcePlayerWantedLevelCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Forces a player to have a wanted level"), new CommandData("plrinfo", getPlayerInfoCommand, "", getStaffFlagValue("BasicModeration"), true, true, "Shows basic info about the specified player"), new CommandData("playerinfo", getPlayerInfoCommand, "", getStaffFlagValue("BasicModeration"), true, true, "Shows basic info about the specified player"), new CommandData("getplrhouses", getHousesOwnedByPlayerCommand, "", getStaffFlagValue("BasicModeration"), true, true, "Shows a list of all houses owned by the player"), @@ -564,10 +563,10 @@ function loadCommands() { new CommandData("getgeoip", getPlayerGeoIPInformationCommand, "", getStaffFlagValue("BasicModeration"), true, true, "Retrieves GeoIP information on a player (country & city)"), new CommandData("getip", getPlayerIPInformationCommand, "", getStaffFlagValue("BasicModeration"), true, true, "Retrieves IP information on a player"), new CommandData("plrsync", toggleSyncForElementsSpawnedByPlayerCommand, "", getStaffFlagValue("BasicModeration"), true, true, "Sets whether elements spawned by a player are synced (traffic, peds, etc)"), - new CommandData("health", setPlayerHealthCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Sets a player's armour"), - new CommandData("sethealth", setPlayerHealthCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Sets a player's armour"), + new CommandData("health", forcePlayerHealthCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Sets a player's armour"), + new CommandData("sethealth", forcePlayerHealthCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Sets a player's armour"), new CommandData("infiniterun", setPlayerInfiniteRunCommand, " ", getStaffFlagValue("BasicModeration"), true, true, "Toggles a player's infinite sprint"), new CommandData("atbiz", getPlayerCurrentBusinessCommand, "", getStaffFlagValue("BasicModeration"), true, true, "Gets which business a player is at/in"), new CommandData("atbusiness", getPlayerCurrentBusinessCommand, "", getStaffFlagValue("BasicModeration"), true, true, "Gets which business a player is at/in"),