Skip to content

Commit b48d587

Browse files
Fix "n" and "y" parameter names in yaml that were being interepreted as yaml booleans
1 parent ddbb177 commit b48d587

35 files changed

+62
-62
lines changed

functions/Element/attachElements.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ shared:
1515
description: The x offset, if you want the elements to be a certain distance from
1616
one another (default 0).
1717
default: '0'
18-
- name: "y"PosOffset
18+
- name: "yPosOffset"
1919
type: float
2020
description: The y offset (default 0).
2121
default: '0'
@@ -27,7 +27,7 @@ shared:
2727
type: float
2828
description: The x rotation offset (default 0).
2929
default: '0'
30-
- name: "y"RotOffset
30+
- name: "yRotOffset"
3131
type: float
3232
description: The y rotation offset (default 0).
3333
default: '0'

functions/Element/cloneElement.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ shared:
1313
type: float
1414
description: A floating point number representing the X coordinate on the map.
1515
default: '0'
16-
- name: "y"Pos
16+
- name: "yPos"
1717
type: float
1818
description: A floating point number representing the Y coordinate on the map.
1919
default: '0'

functions/Element/isElementOnScreen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ shared:
2323
variable: onScreen
2424
static: false
2525
issues:
26-
- id: '2029'
26+
- id: 2029
2727
description: isElementOnScreen doesn't work for markers
2828
requires_review: true

functions/Element/setElementAttachedOffsets.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ shared:
1111
type: float
1212
description: The x offset, if you want the elements to be a certain distance from
1313
one another (default 0).
14-
- name: "y"PosOffset
14+
- name: "yPosOffset"
1515
type: float
1616
description: The y offset (default 0).
1717
- name: zPosOffset
@@ -20,7 +20,7 @@ shared:
2020
- name: xRotOffset
2121
type: float
2222
description: The x rotation offset (default 0).
23-
- name: "y"RotOffset
23+
- name: "yRotOffset"
2424
type: float
2525
description: The y rotation offset (default 0).
2626
- name: zRotOffset

functions/Element/setElementBoneRotation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ shared:
1111
- name: boneId
1212
type: int
1313
description: The ID of the bone to set the rotation of. See Bone IDs .
14-
- name: "y"aw
14+
- name: "yaw"
1515
type: float
1616
description: The yaw rotation value.
1717
- name: pitch

functions/Element/setElementFrozen.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ shared:
3333
content: This function cancels any animation set by setPedAnimation if you freeze
3434
the ped.
3535
issues:
36-
- id: '1291'
36+
- id: 1291
3737
description: Ped rotation is always zero on client side if ped has been frozed
3838
after creating it
39-
- id: '541'
39+
- id: 541
4040
description: Frozen ped rotation goes wrong with latency reduction enabled
41-
- id: '442'
41+
- id: 442
4242
description: Client-side setElementFrozen should sync vehicle driven by local
4343
player
4444
requires_review: true

functions/Element/setElementHealth.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ shared:
3838
black smoke 50% 250: white steam 0%, black smoke 100% 249: fire with big black
3939
smoke'
4040
issues:
41-
- id: '414'
41+
- id: 414
4242
description: Using setElementHealth on a dead ped makes it invincible
4343
requires_review: true

functions/Element/setElementPosition.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ shared:
4040
content: Do not use this function to spawn a player . It will cause problems with
4141
other functions like warpPedIntoVehicle . Use spawnPlayer instead.
4242
issues:
43-
- id: '539'
43+
- id: 539
4444
description: Changing player position when he/she has a jetpack will remove the
4545
jetpack and bug when skin is changed
46-
- id: '529'
46+
- id: 529
4747
description: Player falls from his bike when its teleported by setElementPosition
4848
requires_review: true

functions/Marker/setCoronaReflectionEnabled.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ shared:
2121
static: false
2222
pair: isCoronaReflectionEnabled
2323
issues:
24-
- id: '2755'
24+
- id: 2755
2525
description: Corona reflections do not render on custom placed objects
26-
- id: '2750'
26+
- id: 2750
2727
description: Corona reflections do not render on all roads
2828
requires_review: true

functions/Object/moveObject.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,6 @@ shared:
7474
method: move
7575
static: false
7676
issues:
77-
- id: '549'
77+
- id: 549
7878
description: Object rotation is wrong after moveObject serverside
7979
requires_review: true

0 commit comments

Comments
 (0)