mirror of
https://github.com/mt-mods/mail.git
synced 2025-04-30 08:21:44 -04:00
Send msg table with string keys in mtt
This commit is contained in:
parent
0ce6a2d099
commit
69bb0fb53e
1 changed files with 1 additions and 1 deletions
2
mtt.lua
2
mtt.lua
|
@ -4,7 +4,7 @@ mtt.register("send mail", function(callback)
|
|||
auth_handler.set_password("player2", "")
|
||||
|
||||
-- send a mail
|
||||
mail.send("player1", "player2", "something", "blah")
|
||||
mail.send({from = "player1", to = "player2", subject = "something", body = "blah"})
|
||||
|
||||
-- check the receivers inbox
|
||||
local list2 = mail.getPlayerInboxMessages("player2")
|
||||
|
|
Loading…
Add table
Reference in a new issue