add fahrschule

This commit is contained in:
michael.reiswich
2021-04-02 16:47:49 +02:00
parent 165e871476
commit 0d8f76df3e
5 changed files with 10 additions and 7 deletions

View File

@@ -22,7 +22,6 @@ export default function ahelp(globalData: IGlobalData): void {
ahelpBrowser = mp.browsers.new('package://assets/html/helpcommand/ahelp.html'); ahelpBrowser = mp.browsers.new('package://assets/html/helpcommand/ahelp.html');
mp.gui.chat.activate(false); mp.gui.chat.activate(false);
mp.gui.cursor.show(true, true); mp.gui.cursor.show(true, true);
} }
}); });
@@ -37,7 +36,6 @@ export default function ahelp(globalData: IGlobalData): void {
globalData.InInput = false; globalData.InInput = false;
mp.gui.cursor.show(false, false); mp.gui.cursor.show(false, false);
mp.gui.chat.activate(true); mp.gui.chat.activate(true);
} }
}); });

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6f1478ada7534b954caaec991bb2a3a24767b978de82533965e0c21c3d02831f
size 8491

View File

@@ -233,12 +233,14 @@ import bankMenuHandle from './Interaction/bankmenu';
import InputHelper from './inputhelper'; import InputHelper from './inputhelper';
bankMenuHandle(globalData); bankMenuHandle(globalData);
import Introduction from './Gui/introduction';
Introduction(globalData);
import ahelp from './Gui/ahelp'; import ahelp from './Gui/ahelp';
ahelp(globalData); ahelp(globalData);
import Introduction from './Gui/introduction';
Introduction(globalData);
import userhelp from './Gui/userhelp'; import userhelp from './Gui/userhelp';
userhelp(globalData); userhelp(globalData);

View File

@@ -222,7 +222,7 @@ namespace ReallifeGamemode.Server.Commands
#region Support #region Support
[Command("tog", "~m~Benutzung: ~s~/tog [Typ = ~g~ip~s~, ~g~deathlogs~s~, ~g~lc~s~", GreedyArg = true)] [Command("tog", "~m~Benutzung: ~s~/tog [Typ = ~g~IP~s~, ~g~deathlogs~s~, ~g~LC~s~]", GreedyArg = true)]
public void CmdTog(Player player, string typ, string option1 = null, string option2 = null) public void CmdTog(Player player, string typ, string option1 = null, string option2 = null)
{ {
if (!player.GetUser()?.IsAdmin(AdminLevel.SUPPORTER) ?? true) if (!player.GetUser()?.IsAdmin(AdminLevel.SUPPORTER) ?? true)

View File

@@ -190,7 +190,7 @@ namespace ReallifeGamemode.Server.DrivingSchool
veh.Position = sVeh.Position; veh.Position = sVeh.Position;
veh.Rotation = new Vector3(0, 0, sVeh.Heading); veh.Rotation = new Vector3(0, 0, sVeh.Heading);
user.Position = new Vector3(-813.17, -1354.5, 4.14); user.Position = new Vector3(-814.39, -1336.76, 5.15);
} }
[RemoteEvent("drivingSchoolEvent")] [RemoteEvent("drivingSchoolEvent")]
@@ -304,7 +304,7 @@ namespace ReallifeGamemode.Server.DrivingSchool
veh.Position = sVeh.Position; veh.Position = sVeh.Position;
veh.Rotation = new Vector3(0, 0, sVeh.Heading); veh.Rotation = new Vector3(0, 0, sVeh.Heading);
user.Position = new Vector3(-813.17, -1354.5, 4.14); user.Position = new Vector3(-814.39, -1336.76, 5.15);
} }
[RemoteEvent("bikeSchoolEvent")] [RemoteEvent("bikeSchoolEvent")]