Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
Sends in-game mail, if your mailbox is open.
SendMail("recipient", "subject", "body")
- ("recipient", "subject", "body")
- String - intended recipient of the mail
- String - subject of the mail
- String - body of the mail
Triggers Events Edit
Note: A second call to SendMail() will not work until a SEND_MAIL_SUCCESS or SEND_FAILED event occurs.
Assuming a friendly player named Bob exists on your server:
SendMail("Bob", "Hey Bob", "Hows it going, Bob?")
Note: SendMail("Bob", "", "How it going, Bob?") will not work as the subject is blank. SendMail("Bob", " ") will.