test
This commit is contained in:
@@ -317,12 +317,9 @@ namespace ReallifeGamemode.Server.Extensions
|
||||
user.Player.SetSharedData("blipColor", blipColor);
|
||||
}
|
||||
|
||||
public static Vector3 GetInFrontOfPosition(this Player player)
|
||||
public static void SetInFrontOf(this Player player, Entity entity)
|
||||
{
|
||||
player.ResetData("InFrontOf");
|
||||
player.TriggerEvent("SERVER:GetInFrontPosition");
|
||||
System.Threading.Thread.Sleep(500);
|
||||
return player.GetData<Vector3>("InFrontOf");
|
||||
player.TriggerEvent("SERVER:SetInFrontPosition", entity);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user