Skip to content

Commit

Permalink
chore: small random stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
tabarra committed Apr 25, 2023
1 parent e63fcfd commit fe9b0eb
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 16 deletions.
2 changes: 1 addition & 1 deletion fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
author 'Tabarra'
description 'Remotely Manage & Monitor your GTA5 FiveM Server'
repository 'https://github.com/tabarra/txAdmin'
version '5.3.0-dev'
version '6.0.0-dev'
ui_label 'txAdmin'

rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.'
Expand Down
1 change: 1 addition & 0 deletions nui/src/MenuWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ debugData<any>(
},
{
action: "setGameName",
// data: 'fivem',
data: 'redm',
},
],
Expand Down
1 change: 1 addition & 0 deletions nui/src/components/MainPage/MainPageList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ export const MainPageList: React.FC = () => {
title: t("nui_menu.page_main.clear_area.title"),
description: t("nui_menu.page_main.clear_area.dialog_desc"),
placeholder: "300",
suggestions: ['50', '150', '300'],
onSubmit: (msg) => {
const parsedRadius = parseInt(msg);

Expand Down
2 changes: 1 addition & 1 deletion nui/src/hooks/usePlayerListListener.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export interface PlayerData {
dist: number;
/**
* A non-normalized player health value
* Can be only be 0-200
* Integer between 0-100 or -1 if information is not available
**/
health: number;
/**
Expand Down
14 changes: 0 additions & 14 deletions resource/menu/client/cl_spectate.lua
Original file line number Diff line number Diff line change
Expand Up @@ -356,17 +356,3 @@ RegisterNetEvent('txcl:spectate:start', function(targetServerId, targetCoords)
DoScreenFadeIn(500)
while IsScreenFadedOut() do Wait(5) end
end)


-- DEBUG Commands
-- RegisterCommand('spec0', function()
-- isSpectateEnabled = false
-- end)
-- RegisterCommand('spec1', function()
-- isSpectateEnabled = true
-- createInstructionalThreads()
-- end)
-- RegisterCommand('spec2', function()
-- print('isSpectateEnabled', isSpectateEnabled)
-- print('isInTransitionState', isInTransitionState)
-- end)

0 comments on commit fe9b0eb

Please sign in to comment.