File tree Expand file tree Collapse file tree 2 files changed +17
-16
lines changed Expand file tree Collapse file tree 2 files changed +17
-16
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,6 @@ shared: &shared
1313 values :
1414 - type : ' float'
1515 name : ' health'
16- examples :
17- - path : ' examples/getElementHealth-1.lua'
18- description : |
19- This example outputs the player and vehicle health (if player is in a vehicle) to chatbox using /health command:
20- - path : ' examples/getElementHealth-2.lua'
21- description : |
22- This example heals the player to 100 HP using /healme command if he's at 50 HP or lower:
2316 issues :
2417 - id : 3791
2518 description : ' setPedArmor and setElementHealth synchronization problems from Client to Server'
@@ -32,4 +25,11 @@ server:
3225 << : *shared
3326
3427client :
35- << : *shared
28+ << : *shared
29+ examples :
30+ - path : ' examples/getElementHealth-1.lua'
31+ description : |
32+ This example outputs the player and vehicle health (if player is in a vehicle) to chatbox using /health command:
33+ - path : ' examples/getElementHealth-2.lua'
34+ description : |
35+ This example heals the player to 100 HP using /healme command if he's at 50 HP or lower:
Original file line number Diff line number Diff line change @@ -21,13 +21,6 @@ shared: &shared
2121 values :
2222 - type : ' bool'
2323 name : ' result'
24- examples :
25- - path : ' examples/setElementHealth-1.lua'
26- description : |
27- This example changes the player health to new specified value using /sethealth <value> command:
28- - path : ' examples/setElementHealth-2.lua'
29- description : |
30- This example heals the player vehicle using the command /repairvehicle if it's below 1000 HP:
3124 issues :
3225 - id : 3807
3326 description : ' hpbar on hud is not compatible visually with MAX_HEALTH stat'
@@ -42,6 +35,14 @@ shared: &shared
4235
4336server :
4437 << : *shared
38+ examples :
39+ - path : ' examples/setElementHealth-1.lua'
40+ description : |
41+ This example changes the player health to new specified value using /sethealth <value> command:
4542
4643client :
47- << : *shared
44+ << : *shared
45+ examples :
46+ - path : ' examples/setElementHealth-2.lua'
47+ description : |
48+ This example heals the player vehicle using the command /repairvehicle if it's below 1000 HP:
You can’t perform that action at this time.
0 commit comments