interaktion on Key-M & add error massage for driving,planeschool
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using GTANetworkAPI;
|
||||
using ReallifeGamemode.Database.Entities;
|
||||
using ReallifeGamemode.Database.Models;
|
||||
@@ -68,8 +68,10 @@ namespace ReallifeGamemode.Server.DrivingSchool
|
||||
User user = client.GetUser();
|
||||
|
||||
if (user.FlyingLicensePlane || client.HasData("ActiveSchool"))
|
||||
{
|
||||
client.SendChatMessage("~b~[INFO]~s~ Du besitzt schon einen Flugschein.");
|
||||
return;
|
||||
|
||||
}
|
||||
if (user.Handmoney < 5000)
|
||||
{
|
||||
client.SendNotification("~r~Du brauchst ~g~$5000~r~ auf der Hand um die Prüfung zu starten.", true);
|
||||
|
||||
Reference in New Issue
Block a user