Skip to content

Commit

Permalink
Document ReloadMapMenu (#1028)
Browse files Browse the repository at this point in the history
Added purpose and a small example
  • Loading branch information
freedy69 authored Feb 28, 2024
1 parent e120212 commit cbf6d1e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 11 deletions.
11 changes: 0 additions & 11 deletions HUD/N_0x2916a928514c9827.md

This file was deleted.

20 changes: 20 additions & 0 deletions HUD/ReloadMapMenu.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
ns: HUD
alias: ["0x2916A928514C9827"]
---
## RELOAD_MAP_MENU

```c
// 0x2916A928514C9827
void RELOAD_MAP_MENU();
```

Forces the map menu to reload.

## Examples
```lua
if GetNumberOfReferencesOfScriptWithNameHash(`pausemenu_map`) > 0 then -- Ensure we're on the map screen
ReloadMapMenu()
print('Reloaded map menu!')
end
```

0 comments on commit cbf6d1e

Please sign in to comment.