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:
parent
9276324fc6
commit
937ff7f677
1 changed files with 3 additions and 3 deletions
|
|
@ -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)))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue