fix: on_hud_render is not documented
This commit is contained in:
parent
debd28ba55
commit
934c5f194e
@ -190,6 +190,12 @@ function on_hud_open(playerid: int)
|
|||||||
|
|
||||||
Called after world open.
|
Called after world open.
|
||||||
|
|
||||||
|
```lua
|
||||||
|
function on_hud_render()
|
||||||
|
```
|
||||||
|
|
||||||
|
Called every frame. Used for client-side tasks such as animation and camera control.
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
function on_hud_close(playerid: int)
|
function on_hud_close(playerid: int)
|
||||||
```
|
```
|
||||||
|
|||||||
@ -190,6 +190,12 @@ function on_hud_open(playerid: int)
|
|||||||
|
|
||||||
Вызывается после входа в мир, когда становится доступна библиотека hud. Здесь на экран добавляются постоянные элементы.
|
Вызывается после входа в мир, когда становится доступна библиотека hud. Здесь на экран добавляются постоянные элементы.
|
||||||
|
|
||||||
|
```lua
|
||||||
|
function on_hud_render()
|
||||||
|
```
|
||||||
|
|
||||||
|
Вызывается каждый кадр. Используется для клиентских задач, таких как анимация, управление камерой.
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
function on_hud_close(playerid: int)
|
function on_hud_close(playerid: int)
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user