mirror of
https://github.com/BeamMP/Docs.git
synced 2025-07-01 23:45:46 +00:00
Update docs/en/beamng/dev/modding/ui-apps.md
Co-authored-by: O1LER <44237025+O1LER@users.noreply.github.com>
This commit is contained in:
parent
c917972a67
commit
68c5a7bffa
@ -199,7 +199,7 @@ M.modifyMessage = modifyMessage
|
||||
return M
|
||||
```
|
||||
|
||||
Note that its very important to return the M (module) variable with the needed functions inside !
|
||||
Note that its very important to return the M (module) variable with the needed functions inside!
|
||||
Example, without the ``M.modifyMessage = modifyMessage`` line, the ``bngApi.engineLua('extensions.exampleMod.modifyMessage("' + $scope.message + '")')`` function will not be able to find the modifyMessage() function
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user