fix: on_hud_render is not documented

This commit is contained in:
MihailRis 2025-11-04 15:50:52 +03:00
parent debd28ba55
commit 934c5f194e
2 changed files with 12 additions and 0 deletions

View File

@ -190,6 +190,12 @@ function on_hud_open(playerid: int)
Called after world open.
```lua
function on_hud_render()
```
Called every frame. Used for client-side tasks such as animation and camera control.
```lua
function on_hud_close(playerid: int)
```

View File

@ -190,6 +190,12 @@ function on_hud_open(playerid: int)
Вызывается после входа в мир, когда становится доступна библиотека hud. Здесь на экран добавляются постоянные элементы.
```lua
function on_hud_render()
```
Вызывается каждый кадр. Используется для клиентских задач, таких как анимация, управление камерой.
```lua
function on_hud_close(playerid: int)
```