try fix Job
This commit is contained in:
@@ -209,13 +209,13 @@ namespace ReallifeGamemode.Server.Job
|
||||
}
|
||||
|
||||
[RemoteEvent("CLIENT:MuellmannImShape")]
|
||||
public void MuellmannImShape(Player player, string jsonIdentifier)
|
||||
public void MuellmannImShape(Player player, Vector3 blipCoords)
|
||||
{
|
||||
foreach (var data in muellmanData)
|
||||
{
|
||||
if (data.getDataFromClient(player) == null) continue;
|
||||
Player target = data.getPartnerClient(player);
|
||||
if (target != null) target.TriggerEvent("MuellmannUpdateColshape", jsonIdentifier);
|
||||
if (target != null) target.TriggerEvent("MuellmannUpdateColshape", blipCoords);
|
||||
player.TriggerEvent("renderTextOnScreen", "Wirf den Müllsack in den Müllwagen.");
|
||||
player.AddAttachment("binbag", false);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user