mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 23:50:29 +01:00
Fixed commands not showing up in game.
This commit is contained in:
parent
e02e9cc447
commit
ff4fb0de89
1 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ namespace SceneManager.Utils
|
||||||
internal static class ConsoleCommands
|
internal static class ConsoleCommands
|
||||||
{
|
{
|
||||||
[ConsoleCommand]
|
[ConsoleCommand]
|
||||||
internal static void Command_ShowCollectedVehicleInfo([ConsoleCommandParameter(AutoCompleterType = typeof(ConsoleCommandAutoCompleterVehicle), Name = "ShowCollectedVehicleInfo")] Vehicle vehicle)
|
internal 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), Name = "GetPedsActiveTasks")] Ped ped)
|
internal 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