Removed textlabels, Fixed chat not showing up after exiting tuning menu
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
using GTANetworkAPI;
|
||||
using reallife_gamemode.Server.Util;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace reallife_gamemode.Server.Managers
|
||||
{
|
||||
@@ -13,11 +9,6 @@ namespace reallife_gamemode.Server.Managers
|
||||
|
||||
public static void AddTuningGarage(Vector3 pos1, Vector3 pos2)
|
||||
{
|
||||
// DEBUG
|
||||
|
||||
NAPI.TextLabel.CreateTextLabel("Pos1", pos1, 100, 1, 0, new Color(255, 255, 255), true, 0);
|
||||
NAPI.TextLabel.CreateTextLabel("Pos2", pos2, 100, 1, 0, new Color(255, 255, 255), true, 0);
|
||||
|
||||
ColShape colShape = NAPI.ColShape.CreateSphereColShape(pos1, 10, 0);
|
||||
|
||||
colShape.OnEntityEnterColShape += (cs, c) =>
|
||||
@@ -30,7 +21,7 @@ namespace reallife_gamemode.Server.Managers
|
||||
|
||||
colShape.OnEntityExitColShape += (cs, c) =>
|
||||
{
|
||||
c.TriggerEvent("hideTuningInfo");
|
||||
c.TriggerEvent("hideTuningInfo", true);
|
||||
};
|
||||
|
||||
tuningGarages.Add(colShape);
|
||||
|
||||
Reference in New Issue
Block a user