Skip to content

Commit d0d33c3

Browse files
committed
chore: removed permissions for helpers
1 parent 75ed8bb commit d0d33c3

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

server-data/resources/[bpt_addons]/bpt_menu/client/main.lua

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ local ruiDrawContent = RageUI.DrawContent
4040
local adminGroups = {
4141
["mod"] = true,
4242
["admin"] = true,
43-
["helper"] = true,
4443
}
4544

4645
CreateThread(function()
@@ -224,23 +223,23 @@ getPersonalMenuCategory("vehicle").drawer = function()
224223
SetVehicleDoorOpen(plyVeh, 1, false, false)
225224
elseif PersonalMenu.DoorState.FrontRight then
226225
PersonalMenu.DoorState.FrontRight = false
227-
SetVehicleDoorShut(plyVeh, 1, false, false)
226+
SetVehicleDoorShut(plyVeh, 1, false)
228227
end
229228
elseif Index == 3 then
230229
if not PersonalMenu.DoorState.BackLeft then
231230
PersonalMenu.DoorState.BackLeft = true
232231
SetVehicleDoorOpen(plyVeh, 2, false, false)
233232
elseif PersonalMenu.DoorState.BackLeft then
234233
PersonalMenu.DoorState.BackLeft = false
235-
SetVehicleDoorShut(plyVeh, 2, false, false)
234+
SetVehicleDoorShut(plyVeh, 2, false)
236235
end
237236
elseif Index == 4 then
238237
if not PersonalMenu.DoorState.BackRight then
239238
PersonalMenu.DoorState.BackRight = true
240239
SetVehicleDoorOpen(plyVeh, 3, false, false)
241240
elseif PersonalMenu.DoorState.BackRight then
242241
PersonalMenu.DoorState.BackRight = false
243-
SetVehicleDoorShut(plyVeh, 3, false, false)
242+
SetVehicleDoorShut(plyVeh, 3, false)
244243
end
245244
end
246245
end)

server-data/resources/[bpt_addons]/bpt_menu/config.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ Config.AdminCommands = {
246246
{
247247
id = "repairveh",
248248
name = TranslateCap("admin_repairveh_button"),
249-
groups = { "admin", "helper" },
249+
groups = { "admin" },
250250
command = function()
251251
local plyPed = PlayerPedId()
252252
local plyVeh = GetVehiclePedIsIn(plyPed, false)
@@ -278,7 +278,7 @@ Config.AdminCommands = {
278278
{
279279
id = "showname",
280280
name = TranslateCap("admin_showname_button"),
281-
groups = { "admin", "mod", "helper" },
281+
groups = { "admin", "mod" },
282282
command = function()
283283
PlayerVars.showName = not PlayerVars.showName
284284

@@ -307,7 +307,7 @@ Config.AdminCommands = {
307307
{
308308
id = "revive",
309309
name = TranslateCap("admin_revive_button"),
310-
groups = { "admin", "helper" },
310+
groups = { "admin" },
311311
command = function()
312312
local targetServerId = KeyboardInput("PM_BOX_ID", TranslateCap("dialogbox_playerid"), "", 8)
313313
if not targetServerId then

0 commit comments

Comments
 (0)