Skip to content

Commit

Permalink
tweak(menu): removed keybind prefixes due to referenced PR
Browse files Browse the repository at this point in the history
  • Loading branch information
tabarra committed Oct 11, 2024
1 parent 93c5e32 commit 24589c2
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions resource/menu/client/cl_base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -99,19 +99,19 @@ RegisterNetEvent('txcl:setAdmin', function(username, perms, rejectReason)
menuPermissions = perms
if IS_FIVEM then
--NOTE: appending # to the desc so the sorting shows it at the top
RegisterKeyMapping('txadmin', '#Open Main Page', 'KEYBOARD', '')
RegisterKeyMapping('txAdmin:menu:openPlayersPage', '#Open Players page', 'KEYBOARD', '')
RegisterKeyMapping('txAdmin:menu:clearArea', '#Clear Area', 'KEYBOARD', '')
RegisterKeyMapping('txAdmin:menu:healMyself', '#Heal Yourself', 'KEYBOARD', '')
RegisterKeyMapping('txAdmin:menu:tpBack', '#Teleport: go Back', 'KEYBOARD', '')
RegisterKeyMapping('txAdmin:menu:tpToCoords', '#Teleport: to Coords', 'KEYBOARD', '')
RegisterKeyMapping('txAdmin:menu:tpToWaypoint', '#Teleport: to Waypoint', 'KEYBOARD', '')
RegisterKeyMapping('txAdmin:menu:noClipToggle', '#Toggle NoClip', 'KEYBOARD', '')
RegisterKeyMapping('txAdmin:menu:togglePlayerIDs', '#Toggle Player IDs', 'KEYBOARD', '')
RegisterKeyMapping('txAdmin:menu:boostVehicle', '#Vehicle: Boost', 'KEYBOARD', '')
RegisterKeyMapping('txAdmin:menu:deleteVehicle', '#Vehicle: Delete', 'KEYBOARD', '')
RegisterKeyMapping('txAdmin:menu:fixVehicle', '#Vehicle: Fix', 'KEYBOARD', '')
RegisterKeyMapping('txAdmin:menu:spawnVehicle', '#Vehicle: Spawn', 'KEYBOARD', '')
RegisterKeyMapping('txadmin', 'Open Main Page', 'KEYBOARD', '')
RegisterKeyMapping('txAdmin:menu:openPlayersPage', 'Open Players page', 'KEYBOARD', '')
RegisterKeyMapping('txAdmin:menu:clearArea', 'Clear Area', 'KEYBOARD', '')
RegisterKeyMapping('txAdmin:menu:healMyself', 'Heal Yourself', 'KEYBOARD', '')
RegisterKeyMapping('txAdmin:menu:tpBack', 'Teleport: go Back', 'KEYBOARD', '')
RegisterKeyMapping('txAdmin:menu:tpToCoords', 'Teleport: to Coords', 'KEYBOARD', '')
RegisterKeyMapping('txAdmin:menu:tpToWaypoint', 'Teleport: to Waypoint', 'KEYBOARD', '')
RegisterKeyMapping('txAdmin:menu:noClipToggle', 'Toggle NoClip', 'KEYBOARD', '')
RegisterKeyMapping('txAdmin:menu:togglePlayerIDs', 'Toggle Player IDs', 'KEYBOARD', '')
RegisterKeyMapping('txAdmin:menu:boostVehicle', 'Vehicle: Boost', 'KEYBOARD', '')
RegisterKeyMapping('txAdmin:menu:deleteVehicle', 'Vehicle: Delete', 'KEYBOARD', '')
RegisterKeyMapping('txAdmin:menu:fixVehicle', 'Vehicle: Fix', 'KEYBOARD', '')
RegisterKeyMapping('txAdmin:menu:spawnVehicle', 'Vehicle: Spawn', 'KEYBOARD', '')
end
else
noMenuReason = tostring(rejectReason)
Expand Down

0 comments on commit 24589c2

Please sign in to comment.