From 2ccc07a0049a26150d4d0172ffe5ec8485dec4ea Mon Sep 17 00:00:00 2001 From: Fernando-A-Rocha Date: Fri, 17 Jan 2025 11:59:21 +0000 Subject: [PATCH] Fix shared-client def --- functions/Element/getElementPosition.yaml | 8 +++++++- functions/Element/setElementPosition.yaml | 10 ++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/functions/Element/getElementPosition.yaml b/functions/Element/getElementPosition.yaml index 4b56d7d..3e31410 100644 --- a/functions/Element/getElementPosition.yaml +++ b/functions/Element/getElementPosition.yaml @@ -1,4 +1,4 @@ -shared: +shared: &shared name: 'getElementPosition' oop: entity: player @@ -29,3 +29,9 @@ shared: - path: 'examples/getElementPosition.lua' description: | This example attaches a samsite on the player's vehicle. + +server: + <<: *shared + +client: + <<: *shared \ No newline at end of file diff --git a/functions/Element/setElementPosition.yaml b/functions/Element/setElementPosition.yaml index b100d31..1412c14 100644 --- a/functions/Element/setElementPosition.yaml +++ b/functions/Element/setElementPosition.yaml @@ -1,4 +1,4 @@ -shared: +shared: &shared name: 'setElementPosition' oop: entity: player @@ -27,4 +27,10 @@ shared: - id: 539 description: 'Changing player position when they have a jetpack will remove the jetpack and bug when skin is changed' - id: 529 - description: 'Player falls from bike when the bike is teleported using setElementPosition' \ No newline at end of file + description: 'Player falls from bike when the bike is teleported using setElementPosition' + +server: + <<: *shared + +client: + <<: *shared \ No newline at end of file