Document handling of type field

This commit is contained in:
luk3yx 2023-12-30 11:29:15 +13:00
parent 1eed7cf336
commit 577b318fa0
1 changed files with 3 additions and 0 deletions

View File

@ -77,6 +77,9 @@ hud_fs.show_hud(player, "waypoints", {
})
```
The "type" field shown above is introduced in MT 5.9-dev. hud_fs will
automatically convert this to hud_elem_type on older servers.
### Advanced API
- `hud_fs.set_scale(formname, scale)`: Sets the scale of the HUD.