Skip to content

Commit a0c33d9

Browse files
Fix getElementPosition description
1 parent 6a6f8e4 commit a0c33d9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

functions/Element/getElementPosition.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ shared: &shared
77
pair: 'setElementPosition'
88
description: |
99
This function allows you to retrieve the position coordinates of an element. This can be any real world element, including:
10+
1011
- [[player|Players]]
1112
- [[vehicle|Vehicles]]
1213
- [[object|Objects]]

web/resources/function.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
{% if function.type_name == 'shared' %}
33
<div class="function-type-title" style="color: #7575ff;">Shared function</div>
44
<h1 style="border-bottom: 3px solid #7575ff; padding-bottom: 0.1em;">{{ function.name }}</h1>
5-
<p style="margin-top: 1em;">{{ function['shared'].description_html }}</p>
5+
{{ function['shared'].description_html }}
66
{% elif function.type_name == 'client' %}
77
<div class="function-type-title" style="color: #FF0000;">Client-side function</div>
88
<h1 style="border-bottom: 3px solid #FF0000;">{{ function.name }}</h1>
9-
<p style="margin-top: 1em;">{{ function['client'].description_html }}</p>
9+
{{ function['client'].description_html }}
1010
{% elif function.type_name == 'server' %}
1111
<div class="function-type-title" style="color: #FF7F00;">Server-side function</div>
1212
<h1 style="border-bottom: 3px solid #FF7F00;">{{ function.name }}</h1>
13-
<p style="margin-top: 1em;">{{ function['server'].description_html }}</p>
13+
{{ function['server'].description_html }}
1414
{% endif %}
1515

1616
<!-- Syntax -->

0 commit comments

Comments
 (0)