1
Fork 0
mirror of https://github.com/thegeneralist01/Scene-Manager-DevRepo synced 2026-01-11 23:50:29 +01:00

Fixed console commands not showing up in game.

This commit is contained in:
Rich Dunne 2020-12-12 12:02:21 -07:00
parent 9276324fc6
commit 937ff7f677

View file

@ -8,10 +8,10 @@ using System.Collections.Generic;
namespace SceneManager.Utils namespace SceneManager.Utils
{ {
internal static class ConsoleCommands public static class ConsoleCommands
{ {
[ConsoleCommand] [ConsoleCommand]
internal static void Command_ShowCollectedVehicleInfo([ConsoleCommandParameter(AutoCompleterType = typeof(ConsoleCommandAutoCompleterVehicle))] Vehicle vehicle) public static void Command_ShowCollectedVehicleInfo([ConsoleCommandParameter(AutoCompleterType = typeof(ConsoleCommandAutoCompleterVehicle))] Vehicle vehicle)
{ {
foreach(Path path in PathMainMenu.paths) foreach(Path path in PathMainMenu.paths)
{ {
@ -37,7 +37,7 @@ namespace SceneManager.Utils
} }
[ConsoleCommand] [ConsoleCommand]
internal static void Command_GetPedsActiveTasks([ConsoleCommandParameter(AutoCompleterType = typeof(ConsoleCommandAutoCompleterPedAliveOnly))] Ped ped) public static void Command_GetPedsActiveTasks([ConsoleCommandParameter(AutoCompleterType = typeof(ConsoleCommandAutoCompleterPedAliveOnly))] Ped ped)
{ {
var tasks = new List<PedTask>(); var tasks = new List<PedTask>();
foreach (PedTask task in (PedTask[])Enum.GetValues(typeof(PedTask))) foreach (PedTask task in (PedTask[])Enum.GetValues(typeof(PedTask)))