RAGE Multiplayer 1.1.0-DP Update

/freeze was obselete and removed
/unfreeze was obselete and removed
/spectate was obselete and removed
This commit is contained in:
Siga
2020-02-24 21:18:54 +01:00
parent 0d5731fb11
commit edf06f4478
85 changed files with 804 additions and 643 deletions

View File

@@ -56,20 +56,20 @@ namespace ReallifeGamemode.Server.DrivingSchool
_colShape1.OnEntityExitColShape += EntityExitBusinessColShape;
NAPI.Blip.CreateBlip(90, new Vector3(-1083.96, -2476.96, 14.07), 1.0f, 4, "Flugschule", shortRange: true);
}
private static void EntityEnterBusinessColShape(ColShape colShape, Client client)
private static void EntityEnterBusinessColShape(ColShape colShape, Player client)
{
if (client.IsInVehicle || !client.IsLoggedIn()) return;
client.TriggerEvent("planeSchoolMenu");
}
private static void EntityExitBusinessColShape(ColShape colShape, Client client)
private static void EntityExitBusinessColShape(ColShape colShape, Player client)
{
client.TriggerEvent("removeplaneSchoolMenu");
}
[RemoteEvent("startplaneSchool")]
public void StartplaneSchool(Client client)
public void StartplaneSchool(Player client)
{
User user = client.GetUser();
@@ -95,7 +95,7 @@ namespace ReallifeGamemode.Server.DrivingSchool
}
[RemoteEvent("timerCheckVehicle1")]
public void TimerCheckVehicle1(Client user)
public void TimerCheckVehicle1(Player user)
{
Vehicle veh = user.Vehicle;
@@ -111,7 +111,7 @@ namespace ReallifeGamemode.Server.DrivingSchool
}
[RemoteEvent("planeSchoolEventEnd")]
public void planeSchoolEventEnd(Client user, int checkpoint)
public void planeSchoolEventEnd(Player user, int checkpoint)
{
Vehicle veh = user.Vehicle;
user.WarpOutOfVehicle();
@@ -133,7 +133,7 @@ namespace ReallifeGamemode.Server.DrivingSchool
user.Position = new Vector3(-1083.96, -2476.96, 13.07);
}
[RemoteEvent("planeSchoolEvent")]
public void planeSchoolEvent(Client user, int checkpoint)
public void planeSchoolEvent(Player user, int checkpoint)
{
switch (checkpoint)
{