23 lines
450 B
C#
23 lines
450 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using GTANetworkAPI;
|
|
|
|
namespace ReallifeGamemode.Server.Job.BusDriver
|
|
{
|
|
public class Events : Script
|
|
{
|
|
// Client Events
|
|
|
|
[RemoteEvent("marker_completed")]
|
|
public void RemoteEvent_MarkerCompleted(Client client)
|
|
{
|
|
if (!client.HasData("Job"))
|
|
return;
|
|
|
|
JobInfo jobInfo = client.GetData("Job");
|
|
jobInfo.CheckObjective(client);
|
|
}
|
|
}
|
|
}
|