interaktion on Key-M & add error massage for driving,planeschool
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user