Skip to content

Commit ad5cb1b

Browse files
Fix setElementHealth notes
1 parent 7d960ed commit ad5cb1b

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

articles/community-guides/.gitkeep

Whitespace-only changes.

functions/Element/setElementHealth.yaml

+2-6
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,12 @@ shared: &shared
99
This function sets the health of a [player](/player), [ped](/ped), [vehicle](/vehicle), or [object](/object) element.
1010
notes:
1111
- |
12-
info: In the case of the [vehicle](/vehicle) element, the health ranges from 0 to 1000.
13-
- |
12+
In the case of the [vehicle](/vehicle) element, the health ranges from 0 to 1000.
13+
1414
- *1000:* no damage at all
15-
- |
1615
- *650:* white steam 0%, black smoke 0%
17-
- |
1816
- *450:* white steam 100%, black smoke 50%
19-
- |
2017
- *250:* white steam 0%, black smoke 100%
21-
- |
2218
- *249:* fire with big black smoke (blowing up)
2319
parameters:
2420
- name: 'theElement'

0 commit comments

Comments
 (0)