interaktion on Key-M & add error massage for driving,planeschool

This commit is contained in:
Michael
2020-06-01 20:34:29 +02:00
parent fb26449cb1
commit 499dced44e
6 changed files with 21 additions and 14 deletions

View File

@@ -119,8 +119,8 @@ namespace ReallifeGamemode.Server.Events
}
}
[RemoteEvent("keyPress:DOWN_ARROW")]
public void KeyPressDownArrow(Player player)
[RemoteEvent("keyPress:M")]
public void KeyPressM(Player player)
{
using var dbContext = new DatabaseContext();
User u = player.GetUser(dbContext);
@@ -159,7 +159,7 @@ namespace ReallifeGamemode.Server.Events
paycheck,
licenses,
vehicles,
factionVehicles = u.FactionLeader ? factionVehicles : null,
factionVehicles,
nextPayday = u.PaydayTimer
};