Test Busfahrer
This commit is contained in:
@@ -45,6 +45,15 @@ namespace ReallifeGamemode.Server.Util
|
||||
}
|
||||
}
|
||||
|
||||
[RemoteEvent("playerWaitsInCheckpoint")]
|
||||
public void PlayerWaitsInCheckpoint(Player user)
|
||||
{
|
||||
if (user.GetUser().JobId == 4)
|
||||
{
|
||||
user.TriggerEvent("CLIENT:PlaySound", "jobs/busfahrer/AnfahrtHaltestelle", "wav", 50);
|
||||
}
|
||||
}
|
||||
|
||||
[RemoteEvent("playerInCheckpoint")]
|
||||
public void PlayerInCheckpoint(Player user)
|
||||
{
|
||||
@@ -66,6 +75,7 @@ namespace ReallifeGamemode.Server.Util
|
||||
if (user.GetUser().JobId == 4)
|
||||
{
|
||||
BusDriverJob.payWage(user, 100);
|
||||
user.TriggerEvent("CLIENT:PlaySound", "jobs/busfahrer/AbfahrtHaltestelle", "mp3", 50);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user