Skip to content

Commit

Permalink
Fix shared-client def
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando-A-Rocha committed Jan 17, 2025
1 parent 9f7efed commit 2ccc07a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
8 changes: 7 additions & 1 deletion functions/Element/getElementPosition.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
shared:
shared: &shared
name: 'getElementPosition'
oop:
entity: player
Expand Down Expand Up @@ -29,3 +29,9 @@ shared:
- path: 'examples/getElementPosition.lua'
description: |
This example attaches a samsite on the player's vehicle.
server:
<<: *shared

client:
<<: *shared
10 changes: 8 additions & 2 deletions functions/Element/setElementPosition.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
shared:
shared: &shared
name: 'setElementPosition'
oop:
entity: player
Expand Down Expand Up @@ -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'
description: 'Player falls from bike when the bike is teleported using setElementPosition'

server:
<<: *shared

client:
<<: *shared

0 comments on commit 2ccc07a

Please sign in to comment.