David Cernat
292536439e
[Server] Rename script functions for clearing packet vectors for players
2018-10-03 02:26:47 +03:00
David Cernat
2e0b6e4e3e
[Server] Rename variable i into index in script function arguments
...
Additionally, rename i into index in LangLua.
2018-07-24 20:14:51 +03:00
David Cernat
49ea76aa9d
[General] Add notes for InputDialogs in GUIBoxes packet
2018-05-25 05:28:22 +03:00
David Cernat
306252ecdc
[Server] Fix confusing script function names
2018-04-18 19:10:58 +03:00
David Cernat
311f770de7
[Server] Document script functions, part 4
...
Additionally, clean up some variable names.
2018-04-18 11:02:18 +03:00
David Cernat
50d5fffb7f
[General] Add and implement PlayerQuickKeys packet
2017-10-25 07:21:00 +03:00
David Cernat
1f682749d6
[General] Add optional notes to PasswordDialogs
2017-07-02 13:07:36 +03:00
David Cernat
4ad87faac1
[Server] Create new Settings category for script functions
2017-06-20 07:24:15 +03:00
Koncord
568b0702fa
[Server] Implement PasswordDialog
2017-06-06 23:34:27 +08:00
David Cernat
1b714fbfa7
[Server] Make script functions more consistent
2017-04-09 12:28:38 +03:00
David Cernat
82dcec5ec5
[Server] Use consistent pattern for script function category names
2017-03-04 14:11:17 +02:00
Koncord
0b8d0224d1
[Server] Change type in second argument in SetConsoleAllow to "bool"
2017-02-01 13:44:50 +08:00
David Cernat
9e290ad799
Fix spacing irregularities
2016-11-21 23:40:50 +02:00
Koncord
37e9cafbf7
Add new API function: SetConsoleAllow
...
example:
tes3mp.SetConsoleAllow(pid, 0) -- disallow console to the player
The console is allowed by default
2016-11-04 03:01:26 +08:00
Koncord
adb49b7c7d
Add New GUI dialog: ListBox
...
Example:
local GUI_LISTBOX = 42
function OnPlayerSendMessage(pid, message)
if message == "/lb" then
local items = "consectetur adipiscing elit\nsed do eiusmod tempor incididunt ut labore\net dolore magna aliqua." -- items can be separated through newline
local label = "Lorem ipsum dolor sit amet"
tes3mp.ListBox(pid, GUI_LISTBOX, label, items)
end
end
function OnGUIAction(pid, idGui, data)
if idGui == GUI_LISTBOX then
print("ID: " .. idGui .. " data: " .. tostring(data)) -- if value higher than last item id
end
end
2016-11-04 00:24:16 +08:00
David Cernat
5e6a374687
Add comment about MesssageBox to prevent future confusion
2016-08-30 08:13:08 +03:00
David Cernat
857defadbc
Revert one unnecessary renaming of MessageBox
2016-08-30 08:05:00 +03:00
David Cernat
32ce7e97a8
Fix build for Windows server
2016-08-30 08:01:34 +03:00
Koncord
1186d09ec0
ScriptFunctions.hpp size reduction
2016-08-30 12:20:39 +08:00