/cuff positioning test
This commit is contained in:
16
ReallifeGamemode.Server/Events/PlayerEvent.cs
Normal file
16
ReallifeGamemode.Server/Events/PlayerEvent.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using GTANetworkAPI;
|
||||
|
||||
namespace ReallifeGamemode.Server.Events
|
||||
{
|
||||
internal class PlayerEvent : Script
|
||||
{
|
||||
[RemoteEvent("CLIENT:SET_InFrontOfPos")]
|
||||
public void SetFrontOfPos(Player player, Vector3 pos)
|
||||
{
|
||||
player.SetSharedData("InFrontOf", pos);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user