test
This commit is contained in:
@@ -123,8 +123,7 @@
|
||||
|
||||
mp.events.add("SERVER:GetInFrontPosition", () => {
|
||||
let player = mp.players.local;
|
||||
let result = xyInFrontOfPos(player.position, player.heading, 0.5);
|
||||
mp.events.callRemote("CLIENT:SET_InFrontOfPos", result);
|
||||
mp.events.callRemote("CLIENT:SET_InFrontOfPos", player.getOffsetFromInWorldCoords(0, 1, 0));
|
||||
});
|
||||
|
||||
mp.events.add("SERVER:GetInFrontOfPlayer", (entity: PlayerMp) => {
|
||||
|
||||
Reference in New Issue
Block a user